linux/sound/pci/ice1712
Brian Bloniarz b8b1a4cb68 ALSA: ice1712 delta - initialize SPI clock
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 4eb4550ab3
is no longer needed, it was a different way to workaround
the problem.

[fixed variable decleration by tiwai]

Signed-off-by: Brian Bloniarz <brian.bloniarz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-01-18 15:25:16 +01:00
..
ak4xxx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
amp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
amp.h
aureon.c ALSA: aureon - Patch for suspend/resume for Terratec Aureon cards. 2010-03-23 17:34:23 +01:00
aureon.h
delta.c ALSA: ice1712 delta - initialize SPI clock 2011-01-18 15:25:16 +01:00
delta.h ALSA: ice1712 - working M-Audio Delta 66E support 2010-12-09 08:40:01 +01:00
envy24ht.h
ews.c
ews.h
hoontech.c
hoontech.h
ice1712.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
ice1712.h Merge branch 'topic/hda' into for-linus 2009-12-04 16:22:45 +01:00
ice1724.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
juli.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
juli.h
Makefile ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
maya44.c ALSA: ice1724 - Fix ESI Maya44 capture source control 2010-05-12 16:43:32 +02:00
maya44.h
phase.c
phase.h
pontis.c sound: Remove unnecessary casts of private_data 2010-09-07 08:05:59 +02:00
pontis.h
prodigy192.c sound: Remove unnecessary casts of private_data 2010-09-07 08:05:59 +02:00
prodigy192.h
prodigy_hifi.c ALSA: ice1724 - Fix section mismatch in prodigy_hd2_resume() 2009-11-14 14:37:48 +01:00
prodigy_hifi.h
quartet.c ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
quartet.h ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
revo.c
revo.h
se.c
se.h
stac946x.h
vt1720_mobo.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vt1720_mobo.h
wtm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wtm.h