]> Git Repo - linux.git/commitdiff
[media] radio-si470x: Fix band selection
authorHans de Goede <[email protected]>
Thu, 12 Jul 2012 19:55:47 +0000 (16:55 -0300)
committerMauro Carvalho Chehab <[email protected]>
Mon, 30 Jul 2012 23:23:13 +0000 (20:23 -0300)
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/radio/si470x/radio-si470x.h

index d66523826d3d8eddd055e17f579ee8c71476b3c4..b3586e1ec2c4a65b0ce93541f8458d563821dcae 100644 (file)
@@ -87,7 +87,7 @@
 
 #define SYSCONFIG2             5       /* System Configuration 2 */
 #define SYSCONFIG2_SEEKTH      0xff00  /* bits 15..08: RSSI Seek Threshold */
-#define SYSCONFIG2_BAND                0x0080  /* bits 07..06: Band Select */
+#define SYSCONFIG2_BAND                0x00c0  /* bits 07..06: Band Select */
 #define SYSCONFIG2_SPACE       0x0030  /* bits 05..04: Channel Spacing */
 #define SYSCONFIG2_VOLUME      0x000f  /* bits 03..00: Volume */
 
This page took 0.055229 seconds and 4 git commands to generate.