diff options
author | William Wilgus <me.theuser@yahoo.com> | 2017-10-30 22:48:50 +0100 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-07-25 06:03:44 +0200 |
commit | c15af64452a03be1362ff2ee56915f5cca24a445 (patch) | |
tree | bf1b404ba27abce3786ea659340a1f68c320b77f /firmware/drivers/lcd-scroll.c | |
parent | 6a568761c88622321b29e338acdb5b52eff6ae3e (diff) | |
download | rockbox-c15af64452a03be1362ff2ee56915f5cca24a445.tar.gz rockbox-c15af64452a03be1362ff2ee56915f5cca24a445.zip |
AMS v1/v2: Fix I2C2_CSPR debug menu entry
I2c controller needs to be enabled in order to read CSPR0, CSPR1
registers function sets CGU_I2C_AUDIO_MASTER_CLOCK_ENABLE
and only clears if it wasn't previously enabled
Use divider set in register to calculate frequency rather than
hard coded divider
Change-Id: I54ecc0c1859e906c00f4c2ae8ae2424a4619df98
Diffstat (limited to 'firmware/drivers/lcd-scroll.c')
0 files changed, 0 insertions, 0 deletions