Skip to content

Commit 8e08af3

Browse files
mkrufkymchehab
authored andcommitted
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>
1 parent 4a8f3a5 commit 8e08af3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/dvb/frontends/s5h1409.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ static int s5h1409_set_gpio(struct dvb_frontend* fe, int enable)
445445
s5h1409_readreg(state, 0xe3) | 0x1100);
446446
else
447447
return s5h1409_writereg(state, 0xe3,
448-
s5h1409_readreg(state, 0xe3) & 0xeeff);
448+
s5h1409_readreg(state, 0xe3) & 0xfeff);
449449
}
450450

451451
static int s5h1409_sleep(struct dvb_frontend* fe, int enable)

0 commit comments

Comments
 (0)