linux/drivers/media/radio
Himangi Saraogi a0ffe4c090 [media] radio-si470x-usb: use USB API functions rather than constants
This patch introduces the use of the function usb_endpoint_is_int_in.

The Coccinelle semantic patch that makes these changes is as follows:

@@ struct usb_endpoint_descriptor *epd; @@

- ((epd->bEndpointAddress & \(USB_ENDPOINT_DIR_MASK\|0x80\)) ==
-  \(USB_DIR_IN\|0x80\))
+ usb_endpoint_dir_in(epd)

@@ struct usb_endpoint_descriptor *epd; @@

- ((epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) ==
- \(USB_ENDPOINT_XFER_INT\|3\))
+ usb_endpoint_xfer_int(epd)

@@ struct usb_endpoint_descriptor *epd; @@

- (usb_endpoint_xfer_int(epd) && usb_endpoint_dir_in(epd))
+ usb_endpoint_is_int_in(epd)

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-21 20:10:33 -03:00
..
si470x [media] radio-si470x-usb: use USB API functions rather than constants 2014-09-21 20:10:33 -03:00
si4713 [media] si4713: add the missing RDS functionality 2014-07-25 19:27:29 -03:00
wl128x [media] wl128x: fix sparse warnings 2014-09-03 09:39:15 -03:00
dsbr100.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
Kconfig [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
lm7000.h
Makefile [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
radio-aimslab.c [media] radio-aimslab.c: get rid of warning: no previous prototype 2012-10-27 18:07:44 -02:00
radio-aztech.c [media] radio-aztech: Implement signal strength detection and fix stereo detection 2013-07-26 13:34:09 -03:00
radio-cadet.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-gemtek.c [media] radio: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
radio-isa.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-isa.h
radio-keene.c [media] Fix 64-bit division fall-out from 64-bit control ranges 2014-07-17 12:44:38 -03:00
radio-ma901.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-maxiradio.c [media] tea575x: Move header from sound to media 2013-08-18 08:08:05 -03:00
radio-miropcm20.c [media] radio-miropcm20: fix sparse NULL pointer warning 2014-07-30 19:50:09 -03:00
radio-mr800.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-raremono.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-rtrack2.c [media] radio-rtrack2: fix mute bug 2013-03-05 15:20:07 -03:00
radio-sf16fmi.c [media] radio: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
radio-sf16fmr2.c [media] radio-sf16fmr2: Remove redundant dev_set_drvdata 2013-10-14 06:33:38 -03:00
radio-shark2.c [media] radio-shark2: Mark shark_resume_leds() inline to kill compiler warning 2013-12-09 14:50:50 -02:00
radio-shark.c [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning 2013-12-09 14:50:49 -02:00
radio-si476x.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-tea5764.c [media] radio-tea5764: fix sparse warnings 2014-09-03 09:30:56 -03:00
radio-tea5777.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-tea5777.h
radio-terratec.c
radio-timb.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
radio-zoltrix.c
saa7706h.c [media] saa7706h: convert to the control framework 2013-06-17 09:20:26 -03:00
tea575x.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
tef6862.c [media] tef6862/radio-tea5764: actually assign clamp result 2013-11-29 14:22:35 -02:00