summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/msp3400.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2005-02-10 10:38:05 +0000
committerGerd Knorr <devnull@localhost>2005-02-10 10:38:05 +0000
commit390439a668a9a5ec08ea0d8768a88afe92188477 (patch)
treecf6e3d442cc8e8361dd8726114bd1c9ca6cc1950 /linux/drivers/media/video/msp3400.c
parentd181639581de477cc7fbb3fc044e5a7c1c91074e (diff)
downloadmediapointer-dvb-s2-390439a668a9a5ec08ea0d8768a88afe92188477.tar.gz
mediapointer-dvb-s2-390439a668a9a5ec08ea0d8768a88afe92188477.tar.bz2
- pcHDTV HD3000 support (by Rusty Scott).
Diffstat (limited to 'linux/drivers/media/video/msp3400.c')
-rw-r--r--linux/drivers/media/video/msp3400.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/msp3400.c b/linux/drivers/media/video/msp3400.c
index 07117009e..7183480a8 100644
--- a/linux/drivers/media/video/msp3400.c
+++ b/linux/drivers/media/video/msp3400.c
@@ -381,7 +381,9 @@ static void msp3400c_setvolume(struct i2c_client *client,
int val = 0, bal = 0;
if (!muted) {
- val = (volume * 0x7F / 65535) << 8;
+ /* 0x7f instead if 0x73 here has sound quality issues,
+ * probably due to overmodulation + clipping ... */
+ val = (volume * 0x73 / 65535) << 8;
}
if (val) {
bal = (balance / 256) - 128;