Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2f36f5e1
Commit
2f36f5e1
authored
Jan 21, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/misc' into for-linus
parents
d2ebd479
b8b1a4cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
sound/pci/ice1712/delta.c
sound/pci/ice1712/delta.c
+7
-0
No files found.
sound/pci/ice1712/delta.c
View file @
2f36f5e1
...
@@ -580,6 +580,7 @@ static int __devinit snd_ice1712_delta_init(struct snd_ice1712 *ice)
...
@@ -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)
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment