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>
This commit is contained in:
parent
2ec9b00bd0
commit
9c8679554d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user