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
4c2223d4
Commit
4c2223d4
authored
Jan 18, 2018
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/nuc900' into asoc-next
parents
7cc289b9
65a12b3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
sound/soc/nuc900/nuc900-ac97.c
sound/soc/nuc900/nuc900-ac97.c
+5
-6
No files found.
sound/soc/nuc900/nuc900-ac97.c
View file @
4c2223d4
...
...
@@ -67,7 +67,7 @@ static unsigned short nuc900_ac97_read(struct snd_ac97 *ac97,
/* polling the AC_R_FINISH */
while
(
!
(
AUDIO_READ
(
nuc900_audio
->
mmio
+
ACTL_ACCON
)
&
AC_R_FINISH
)
&&
timeout
--
)
&&
--
timeout
)
mdelay
(
1
);
if
(
!
timeout
)
{
...
...
@@ -121,7 +121,7 @@ static void nuc900_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
/* polling the AC_W_FINISH */
while
((
AUDIO_READ
(
nuc900_audio
->
mmio
+
ACTL_ACCON
)
&
AC_W_FINISH
)
&&
timeout
--
)
&&
--
timeout
)
mdelay
(
1
);
if
(
!
timeout
)
...
...
@@ -345,11 +345,10 @@ static int nuc900_ac97_drvprobe(struct platform_device *pdev)
goto
out
;
}
nuc900_audio
->
irq_num
=
platform_get_irq
(
pdev
,
0
);
if
(
!
nuc900_audio
->
irq_num
)
{
ret
=
-
EBUSY
;
ret
=
platform_get_irq
(
pdev
,
0
);
if
(
ret
<
0
)
goto
out
;
}
nuc900_audio
->
irq_num
=
ret
;
nuc900_ac97_data
=
nuc900_audio
;
...
...
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