linux/drivers/media
Mauro Carvalho Chehab f6f7b58ef0 [media] airspy: fix bit set/clean mess on s->flags
As warned by smatch:
	drivers/media/usb/airspy/airspy.c:541 airspy_start_streaming() warn: test_bit() takes a bit number
	drivers/media/usb/airspy/airspy.c:569 airspy_start_streaming() warn: test_bit() takes a bit number
	drivers/media/usb/airspy/airspy.c:605 airspy_stop_streaming() warn: test_bit() takes a bit number

set_bit/clear_bit argument is the bit number, and not 1 << bit.

Thankfully, one of the bits was not used (URB_BUF), with would
otherwise cause a driver misfunctioning.

Clean this mess by always using set_bit/clear_bit/test_bit and
removing the unused bit.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-01 10:48:17 -03:00
..
common [media] siano: firmware buffer is too small 2016-02-16 09:29:13 -02:00
dvb-core [media] media: dvb-frontend invoke enable/disable_source handlers 2016-02-27 09:34:06 -03:00
dvb-frontends [media] media: au8522 change to create MC pad for ALSA Audio Out 2016-02-27 08:34:10 -03:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] tc358743: use - instead of non-ascii wide-dash character 2016-02-27 08:14:43 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] bttv: Width must be a multiple of 16 when capturing planar formats 2016-03-01 10:36:24 -03:00
platform [media] media: ti-vpe: cal: Fix warning: variable dereference before being checked 2016-02-23 07:17:27 -03:00
radio [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
rc [media] rc-core: don't lock device at rc_register_device() 2016-02-16 08:40:41 -02:00
tuners [media] xc4000: shut up a bogus smatch message 2016-02-23 07:14:02 -03:00
usb [media] airspy: fix bit set/clean mess on s->flags 2016-03-01 10:48:17 -03:00
v4l2-core [media] media: Change v4l-core to check if source is free 2016-02-27 08:46:55 -03:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Media Controller register/unregister entity_notify API 2016-02-27 08:33:25 -03:00
media-devnode.c [media] media: Fix media_open() to clear filp->private_data in error leg 2016-02-01 13:21:33 -02:00
media-entity.c [media] media: Media Controller non-locking __media_entity_pipeline_start/stop() 2016-02-27 08:33:28 -03:00