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 [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
aureon.c ALSA: aureon - Patch for suspend/resume for Terratec Aureon cards. 2010-03-23 17:34:23 +01:00
aureon.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
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 [ALSA] ice1724: fix MIDI 2008-05-20 14:22:44 +02:00
ews.c ALSA: Kill snd_assert() in sound/pci/* 2008-08-13 11:46:38 +02:00
ews.h [ALSA] ice1712 - Add Terrasoniq TS88 support 2008-04-24 12:00:40 +02:00
hoontech.c [ALSA] ice1712 - Fix hoontech MIDI input 2008-04-24 12:00:07 +02:00
hoontech.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
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 [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
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 ALSA: ice1724 - Add ESI Maya44 support 2009-05-06 17:33:19 +02:00
phase.c ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
phase.h ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
pontis.c sound: Remove unnecessary casts of private_data 2010-09-07 08:05:59 +02:00
pontis.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
prodigy192.c sound: Remove unnecessary casts of private_data 2010-09-07 08:05:59 +02:00
prodigy192.h [ALSA] ice1724 - Functioning support for Prodigy 192 2007-05-11 16:55:58 +02:00
prodigy_hifi.c ALSA: ice1724 - Fix section mismatch in prodigy_hd2_resume() 2009-11-14 14:37:48 +01:00
prodigy_hifi.h [ALSA] ice1724 - Add missing prodigy_hifi.h 2008-01-31 17:30:03 +01:00
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 ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
revo.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
se.c [ALSA] ice1712, ice1724 - Code clean up 2008-01-31 17:30:05 +01:00
se.h [ALSA] ice1724 - Add support of Onkyo SE-90PCI and SE-200PCI 2008-01-31 17:29:09 +01:00
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 [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
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 ALSA: ice1712/wtm: fix coding style 2008-09-09 09:11:39 +02:00