From: Manu Abraham Date: Fri, 4 Dec 2009 08:21:05 +0000 (-0300) Subject: V4L/DVB (13759): [Mantis] HIF I/O: Use the LSB octet only X-Git-Tag: v3.12-rc1~11524^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c8679554db8cf39ccec5a90cfaa12b164585556;p=kernel%2Fkernel-generic.git V4L/DVB (13759): [Mantis] HIF I/O: Use the LSB octet only Thanks to Abylai Ospan for pointing this out. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/mantis/mantis_hif.c b/drivers/media/dvb/mantis/mantis_hif.c index 96611b6..1ccd869 100644 --- a/drivers/media/dvb/mantis/mantis_hif.c +++ b/drivers/media/dvb/mantis/mantis_hif.c @@ -139,7 +139,7 @@ int mantis_hif_read_iom(struct mantis_ca *ca, u32 addr) hif_addr |= MANTIS_GPIF_PCMCIAREG; mmwrite(hif_addr, MANTIS_GPIF_ADDR); - return data; + return (u8) data; } int mantis_hif_write_iom(struct mantis_ca *ca, u32 addr, u8 data)