forked from luck/tmp_suning_uos_patched
b8b1a4cb68
The driver was using an initial value for the clock on the SPI bus
which was read from ICE1712 EEPROM,
ice->eeprom.data[ICE_EEP1_GPIO_STATE] & ICE1712_DELTA_AP_CCLK (0x02)
It appears some cards have it default high, some cards
have it default low. On my Delta 66 rev. E:
$ cat /proc/asound/M66/ice1712 | grep 'GPIO state'
GPIO state : 0x70 /* ICE1712_DELTA_AP_CCLK bit is zero */
On my Audiophile 2496:
$ cat /proc/asound/M2496/ice1712 | grep 'GPIO state'
GPIO state : 0xfe /* ICE1712_DELTA_AP_CCLK bit is one */
It must be raised before the first SPI write happens, or the write will
fail, leading to:
[ 23.248721] invalid CS8427 signature 0x0: let me try again...
I theorize that
|
||
---|---|---|
.. | ||
ak4xxx.c | ||
amp.c | ||
amp.h | ||
aureon.c | ||
aureon.h | ||
delta.c | ||
delta.h | ||
envy24ht.h | ||
ews.c | ||
ews.h | ||
hoontech.c | ||
hoontech.h | ||
ice1712.c | ||
ice1712.h | ||
ice1724.c | ||
juli.c | ||
juli.h | ||
Makefile | ||
maya44.c | ||
maya44.h | ||
phase.c | ||
phase.h | ||
pontis.c | ||
pontis.h | ||
prodigy_hifi.c | ||
prodigy_hifi.h | ||
prodigy192.c | ||
prodigy192.h | ||
quartet.c | ||
quartet.h | ||
revo.c | ||
revo.h | ||
se.c | ||
se.h | ||
stac946x.h | ||
vt1720_mobo.c | ||
vt1720_mobo.h | ||
wtm.c | ||
wtm.h |