projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec9b00
)
V4L/DVB (13759): [Mantis] HIF I/O: Use the LSB octet only
author
Manu Abraham
<abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:21:05 +0000
(
05:21
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:37 +0000
(11:55 -0200)
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>
drivers/media/dvb/mantis/mantis_hif.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/mantis/mantis_hif.c
b/drivers/media/dvb/mantis/mantis_hif.c
index
96611b6
..
1ccd869
100644
(file)
--- 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)