projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] oxygen: reduce SPI clock frequency for AK4396/WM8785
[firefly-linux-kernel-4.4.55.git]
/
sound
/
pci
/
oxygen
/
oxygen_io.c
diff --git
a/sound/pci/oxygen/oxygen_io.c
b/sound/pci/oxygen/oxygen_io.c
index ebafc65dc345a1626bdf75b38366b394ef54b1ee..d0cdce041dd800b589eb1e9a649191c1793a0044 100644
(file)
--- a/
sound/pci/oxygen/oxygen_io.c
+++ b/
sound/pci/oxygen/oxygen_io.c
@@
-174,7
+174,7
@@
void oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data)
{
unsigned int count;
- /* should not need more than
3.84 us (24 * 16
0 ns) */
+ /* should not need more than
7.68 us (24 * 32
0 ns) */
count = 10;
while ((oxygen_read8(chip, OXYGEN_SPI_CONTROL) & OXYGEN_SPI_BUSY)
&& count > 0) {