aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-07-12 15:55:47 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 19:23:13 -0400
commit8d8c1b375cd5b239607037a859661e98cd0dac00 (patch)
treea42e09f5ee167af2026927e917990f07fef36a7d /drivers/media
parentc1af23c4f7e4c95f0002b6801a9dd82b22cae35d (diff)
[media] radio-si470x: Fix band selection
The mask was wrong resulting in band 0 and 1 always ending up as band 0 in the register. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/si470x/radio-si470x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x.h b/drivers/media/radio/si470x/radio-si470x.h
index d66523826d3d..b3586e1ec2c4 100644
--- a/drivers/media/radio/si470x/radio-si470x.h
+++ b/drivers/media/radio/si470x/radio-si470x.h
@@ -87,7 +87,7 @@
87 87
88#define SYSCONFIG2 5 /* System Configuration 2 */ 88#define SYSCONFIG2 5 /* System Configuration 2 */
89#define SYSCONFIG2_SEEKTH 0xff00 /* bits 15..08: RSSI Seek Threshold */ 89#define SYSCONFIG2_SEEKTH 0xff00 /* bits 15..08: RSSI Seek Threshold */
90#define SYSCONFIG2_BAND 0x0080 /* bits 07..06: Band Select */ 90#define SYSCONFIG2_BAND 0x00c0 /* bits 07..06: Band Select */
91#define SYSCONFIG2_SPACE 0x0030 /* bits 05..04: Channel Spacing */ 91#define SYSCONFIG2_SPACE 0x0030 /* bits 05..04: Channel Spacing */
92#define SYSCONFIG2_VOLUME 0x000f /* bits 03..00: Volume */ 92#define SYSCONFIG2_VOLUME 0x000f /* bits 03..00: Volume */
93 93