OpenCloudOS-Kernel/drivers/media/usb
Mauro Carvalho Chehab 1ad371deb9 media: pvrusb2: fix the retry logic
As reported by this warning:
	drivers/media/usb/pvrusb2/pvrusb2-encoder.c:263 pvr2_encoder_cmd() warn: continue to end of do { ... } while(0); loop

There's an issue at the retry logic there: the current logic is:

	do {
		if (need_to_retry)
			continue;

		some_code();
	} while (0);

Well, that won't work, as continue will make it test for zero, and
abort the loop. So, change the loop to:

	while (1) {
		if (need_to_retry)
			continue;

		some_code();
		break;
	};

With seems to be what's actually expected there.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-20 16:25:41 -04:00
..
airspy [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
as102 media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-30 19:13:53 +02:00
au0828 media: Replace initalized ->initialized 2017-06-24 15:46:24 -03:00
b2c2 [media] b2c2: don't break long lines 2016-10-21 09:38:31 -02:00
cpia2 [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
cx231xx [media] rc-core: cx231xx - leave the internals of rc_dev alone 2017-06-06 09:09:34 -03:00
dvb-usb media: dib0700: fix error handling in dib0700_i2c_xfer_legacy() 2017-06-24 15:41:57 -03:00
dvb-usb-v2 media: dvb-usb-v2: lmedm04: remove unnecessary variable in lme2510_stream_restart() 2017-06-24 18:46:05 -03:00
em28xx media: Replace initalized ->initialized 2017-06-24 15:46:24 -03:00
go7007 [media] go7007: improve subscribe event handling 2017-03-22 10:12:21 -03:00
gspca media: staging: fbtft: make const array gamma_par_mask static 2017-07-20 15:06:08 -04:00
hackrf [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
hdpvr [media] hdpvr: fix interrupted recording 2016-11-16 13:30:30 -02:00
msi2500 [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
pulse8-cec media: pulse8-cec/rainshadow-cec: make adapter name unique 2017-07-18 13:00:52 -03:00
pvrusb2 media: pvrusb2: fix the retry logic 2017-07-20 16:25:41 -04:00
pwc [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
rainshadow-cec media: pulse8-cec/rainshadow-cec: make adapter name unique 2017-07-18 13:00:52 -03:00
s2255 [media] s2255drv: avoid a switch fall through 2017-05-19 09:05:19 -03:00
siano [media] siano: make it work again with CONFIG_VMAP_STACK 2017-02-14 18:13:49 -02:00
stk1160 [media] media: stk1160: Add Kconfig help on snd-usb-audio requirement 2017-04-18 12:15:45 -03:00
stkwebcam media: stkwebcam: Use more common logging styles 2017-06-24 09:36:38 -03:00
tm6000 [media] tm6000: key_addr is unused 2017-06-06 09:10:11 -03:00
ttusb-budget media: dvb-ttusb-budget: constify i2c_algorithm structure 2017-07-20 14:52:43 -04:00
ttusb-dec [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
usbtv [media] usbtv: add sharpness control 2017-02-08 11:57:24 -02:00
usbvision media: usbvision: constify i2c_algorithm structure 2017-07-20 14:53:00 -04:00
uvc [media] uvcvideo: Add iFunction or iInterface to device names 2017-06-06 07:33:26 -03:00
zr364xx [media] zr364xx: enforce minimum size when reading header 2017-04-18 12:57:29 -03:00
Kconfig [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
Makefile [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00