mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 21:31:51 +00:00
V4L/DVB (7495): s5h1409: fix blown-away bit in function s5h1409_set_gpio
Preserve all other bits when setting gpio. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
4a8f3a5727
commit
8e08af3c30
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ static int s5h1409_set_gpio(struct dvb_frontend* fe, int enable)
|
||||||
s5h1409_readreg(state, 0xe3) | 0x1100);
|
s5h1409_readreg(state, 0xe3) | 0x1100);
|
||||||
else
|
else
|
||||||
return s5h1409_writereg(state, 0xe3,
|
return s5h1409_writereg(state, 0xe3,
|
||||||
s5h1409_readreg(state, 0xe3) & 0xeeff);
|
s5h1409_readreg(state, 0xe3) & 0xfeff);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int s5h1409_sleep(struct dvb_frontend* fe, int enable)
|
static int s5h1409_sleep(struct dvb_frontend* fe, int enable)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue