diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-02 18:14:41 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-02 18:14:41 -0400 |
commit | 24f341f7819da5f9a71178c6e1fa5ce1456ea246 (patch) | |
tree | 0be1ec6d5dc8ed6141170a7f3db705e9cceb6898 /linux/drivers/media/dvb/frontends | |
parent | 16db1a41499bb1ebb8e6fef05a638a9dfc971892 (diff) | |
download | mediapointer-dvb-s2-24f341f7819da5f9a71178c6e1fa5ce1456ea246.tar.gz mediapointer-dvb-s2-24f341f7819da5f9a71178c6e1fa5ce1456ea246.tar.bz2 |
s5h1409: fix blown-away bit in function s5h1409_set_gpio
From: Michael Krufky <mkrufky@linuxtv.org>
Preserve all other bits when setting gpio.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/s5h1409.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/s5h1409.c b/linux/drivers/media/dvb/frontends/s5h1409.c index c5232e8ff..1ca250378 100644 --- a/linux/drivers/media/dvb/frontends/s5h1409.c +++ b/linux/drivers/media/dvb/frontends/s5h1409.c @@ -445,7 +445,7 @@ static int s5h1409_set_gpio(struct dvb_frontend* fe, int enable) s5h1409_readreg(state, 0xe3) | 0x1100); else 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) |