si4700: fix typo

Change-Id: I3ebeaf8188fc330921089a148cac1f3ea5740e23
Reviewed-on: http://gerrit.rockbox.org/370
Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
This commit is contained in:
Ryan Hitchman 2012-12-07 21:07:50 -06:00 committed by Bertrik Sikken
parent b0263be48e
commit bece6cb9da

View file

@ -142,7 +142,7 @@
/* SYSCONFIG2 (0x5) */ /* SYSCONFIG2 (0x5) */
#define SYSCONFIG2_SEEKTH (0xff << 8) #define SYSCONFIG2_SEEKTH (0xff << 8)
#define SYSCONFIG2_SKEETHw(x) (((x) << 8) & SYSCONFIG2_SEEKTH) #define SYSCONFIG2_SEEKTHw(x) (((x) << 8) & SYSCONFIG2_SEEKTH)
#define SYSCONFIG2_BAND (0x3 << 6) #define SYSCONFIG2_BAND (0x3 << 6)
#define SYSCONFIG2_BANDw(x) (((x) << 6) & SYSCONFIG2_BAND) #define SYSCONFIG2_BANDw(x) (((x) << 6) & SYSCONFIG2_BAND)
#define SYSCONFIG2_BANDr(x) (((x) & SYSCONFIG2_BAND) >> 6) #define SYSCONFIG2_BANDr(x) (((x) & SYSCONFIG2_BAND) >> 6)
@ -336,7 +336,7 @@ static void si4700_sleep(int snooze)
SYSCONFIG1_BLNDADJ); SYSCONFIG1_BLNDADJ);
si4700_write_masked(SYSCONFIG2, si4700_write_masked(SYSCONFIG2,
SYSCONFIG2_SKEETHw(SEEK_THRESHOLD) | SYSCONFIG2_SEEKTHw(SEEK_THRESHOLD) |
SYSCONFIG2_VOLUMEw(0xF), SYSCONFIG2_VOLUMEw(0xF),
SYSCONFIG2_VOLUME | SYSCONFIG2_SEEKTH); SYSCONFIG2_VOLUME | SYSCONFIG2_SEEKTH);