linux_dsm_epyc7002/drivers/media
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
..
cec media: cec: drop senseless message 2017-07-18 13:00:26 -03:00
common media: saa7146: constify i2c_algorithm structure 2017-07-20 14:55:14 -04:00
dvb-core media: dvb_ca_en50221.h: fix checkpatch strict warnings 2017-07-20 15:47:07 -04:00
dvb-frontends media: dvb-frontends/stv0367: improve QAM fe_status 2017-07-20 15:16:48 -04:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: adv7180: add missing adv7180cp, adv7180st i2c device IDs 2017-07-20 06:54:04 -04:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci media: cx25821: get rid of CX25821_VERSION_CODE 2017-07-20 16:21:38 -04:00
platform media: s3c-camif: use LINUX_VERSION_CODE for driver's version 2017-07-20 16:21:05 -04:00
radio Linux v4.13-rc1 2017-07-17 11:17:36 -03:00
rc [media] rc-core: cleanup rc_register_device pt2 2017-06-13 13:55:01 -03:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: fc001[23]: make const gain table arrays static 2017-07-19 15:12:39 -04:00
usb media: pvrusb2: fix the retry logic 2017-07-20 16:25:41 -04:00
v4l2-core media: v4l: Add support for CSI-1 and CCP2 busses 2017-07-19 15:34:59 -04:00
Kconfig media: cec-pin: add low-level pin hardware support 2017-07-18 12:57:18 -03:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c media: devnode: Rename mdev argument as devnode 2017-07-20 15:11:40 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: entity: Catch unbalanced media_pipeline_stop calls 2017-06-23 09:23:36 -03:00