diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 19:33:40 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 19:33:40 +0000 |
commit | 50c547c640b46fa54da0b7767ef3ee57ef89270d (patch) | |
tree | a99cd5bc8f33bdf2c1550e2afb3b937880e89931 /firmware/drivers/audio/tsc2100.c | |
parent | fafd50938c94a317fe85138e7173a68e8cd4bac7 (diff) |
M:Robe 500 and TSC2100: Add more to the initialization. Some GPIO initializations are now removed - this will be hanled by the OF or bootloader (when loading from flash).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29220 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/audio/tsc2100.c')
-rw-r--r-- | firmware/drivers/audio/tsc2100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/audio/tsc2100.c b/firmware/drivers/audio/tsc2100.c index cc6a7eed7d..88327767df 100644 --- a/firmware/drivers/audio/tsc2100.c +++ b/firmware/drivers/audio/tsc2100.c @@ -117,7 +117,7 @@ void audiohw_close(void) void audiohw_set_frequency(int fsel) { int reg_val; - reg_val = tsc2100_readreg(TSAC1_PAGE, TSAC1_ADDRESS); + reg_val = tsc2100_readreg(CONTROL_PAGE2, TSAC1_ADDRESS); reg_val &= ~(0x07<<3); @@ -137,5 +137,5 @@ void audiohw_set_frequency(int fsel) break; } - tsc2100_writereg(TSAC1_PAGE, TSAC1_ADDRESS, reg_val); + tsc2100_writereg(CONTROL_PAGE2, TSAC1_ADDRESS, reg_val); } |