Merge branch 'fix/misc' into for-linus
This commit is contained in:
@@ -580,6 +580,7 @@ static int __devinit snd_ice1712_delta_init(struct snd_ice1712 *ice)
|
|||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
struct snd_akm4xxx *ak;
|
struct snd_akm4xxx *ak;
|
||||||
|
unsigned char tmp;
|
||||||
|
|
||||||
if (ice->eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010 &&
|
if (ice->eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010 &&
|
||||||
ice->eeprom.gpiodir == 0x7b)
|
ice->eeprom.gpiodir == 0x7b)
|
||||||
@@ -622,6 +623,12 @@ static int __devinit snd_ice1712_delta_init(struct snd_ice1712 *ice)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* initialize the SPI clock to high */
|
||||||
|
tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA);
|
||||||
|
tmp |= ICE1712_DELTA_AP_CCLK;
|
||||||
|
snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp);
|
||||||
|
udelay(5);
|
||||||
|
|
||||||
/* initialize spdif */
|
/* initialize spdif */
|
||||||
switch (ice->eeprom.subvendor) {
|
switch (ice->eeprom.subvendor) {
|
||||||
case ICE1712_SUBDEVICE_AUDIOPHILE:
|
case ICE1712_SUBDEVICE_AUDIOPHILE:
|
||||||
|
Reference in New Issue
Block a user