diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-07 19:28:53 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 18:26:07 +0100 |
commit | 69a11a32643bda3e7f76af397cb6cd7b32c640f9 (patch) | |
tree | 96d8de1b309441da9ef5510cc6a174e2442223ab /drivers/media/usb/cx231xx/cx231xx-audio.c | |
parent | [media] cx231xx: don't use port 3 on the Conexant video grabber (diff) | |
download | linux-69a11a32643bda3e7f76af397cb6cd7b32c640f9.tar.xz linux-69a11a32643bda3e7f76af397cb6cd7b32c640f9.zip |
[media] cx231xx: fix big-endian problems
Tested on my big-endian ppc-based test machine.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/cx231xx/cx231xx-audio.c')
-rw-r--r-- | drivers/media/usb/cx231xx/cx231xx-audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-audio.c b/drivers/media/usb/cx231xx/cx231xx-audio.c index b40360b8e89e..81a1d971d797 100644 --- a/drivers/media/usb/cx231xx/cx231xx-audio.c +++ b/drivers/media/usb/cx231xx/cx231xx-audio.c @@ -704,8 +704,8 @@ static int cx231xx_audio_init(struct cx231xx *dev) audio_index + 1]; adev->end_point_addr = - le16_to_cpu(uif->altsetting[0].endpoint[isoc_pipe].desc. - bEndpointAddress); + uif->altsetting[0].endpoint[isoc_pipe].desc. + bEndpointAddress; adev->num_alt = uif->num_altsetting; cx231xx_info("EndPoint Addr 0x%x, Alternate settings: %i\n", |