aboutsummaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 05:21:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:37 -0200
commit9c8679554db8cf39ccec5a90cfaa12b164585556 (patch)
tree7a4f1a7aa8c2280952e63264d75f17742ec85d22 /drivers/media
parent2ec9b00bd0386b71c8a84a3990a13ea9656fe8dd (diff)
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 <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/mantis/mantis_hif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_hif.c b/drivers/media/dvb/mantis/mantis_hif.c
index 96611b67cb4..1ccd8696953 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)