linux_dsm_epyc7002/drivers/media
Xi Wang 34817174fc [media] lgdt330x: fix signedness error in i2c_read_demod_bytes()
The error handling in lgdt3303_read_status() and lgdt330x_read_ucblocks()
doesn't work, because i2c_read_demod_bytes() returns a u8 and (err < 0)
is always false.

        err = i2c_read_demod_bytes(state, 0x58, buf, 1);
        if (err < 0)
                return err;

Change the return type of i2c_read_demod_bytes() to int.  Also change
the return value on error to -EIO to make (err < 0) work.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-08 09:01:12 -03:00
..
common [media] mt2063: remove mt2063_setTune from header 2012-02-28 18:12:51 -03:00
dvb [media] lgdt330x: fix signedness error in i2c_read_demod_bytes() 2012-03-08 09:01:12 -03:00
radio [media] [trivial]: Fix typo in radio-sf16fmr2.c 2012-03-08 09:00:30 -03:00
rc [media] fintek-cir: add support for newer chip version 2012-02-14 16:53:53 -02:00
video [media] em28xx: pre-allocate DVB isoc transfer buffers 2012-03-08 08:57:44 -03:00
Kconfig [media] DVB: dvb-net, make the kconfig text helpful 2011-07-27 17:53:09 -03:00
Makefile
media-device.c [media] media: fix truncated entity specification 2011-12-20 09:31:50 -02:00
media-devnode.c [media] media: Fix media device minor registration 2011-06-01 13:24:23 -03:00
media-entity.c [media] media: Properly handle link flags in link setup, link notify callback 2011-04-17 07:43:32 -03:00