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
Kirill Smelkov
linux
Commits
0d054318
Commit
0d054318
authored
Jul 31, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/blackfin' into asoc-linus
parents
d2ee88d0
610d80ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sound/soc/blackfin/bf5xx-ac97.c
sound/soc/blackfin/bf5xx-ac97.c
+3
-2
sound/soc/blackfin/bf5xx-ac97.h
sound/soc/blackfin/bf5xx-ac97.h
+0
-1
No files found.
sound/soc/blackfin/bf5xx-ac97.c
View file @
0d054318
...
@@ -294,11 +294,12 @@ static int asoc_bfin_ac97_probe(struct platform_device *pdev)
...
@@ -294,11 +294,12 @@ static int asoc_bfin_ac97_probe(struct platform_device *pdev)
/* Request PB3 as reset pin */
/* Request PB3 as reset pin */
ret
=
devm_gpio_request_one
(
&
pdev
->
dev
,
ret
=
devm_gpio_request_one
(
&
pdev
->
dev
,
CONFIG_SND_BF5XX_RESET_GPIO_NUM
,
CONFIG_SND_BF5XX_RESET_GPIO_NUM
,
GPIOF_OUT_INIT_HIGH
,
"SND_AD198x RESET"
)
{
GPIOF_OUT_INIT_HIGH
,
"SND_AD198x RESET"
);
if
(
ret
)
{
dev_err
(
&
pdev
->
dev
,
dev_err
(
&
pdev
->
dev
,
"Failed to request GPIO_%d for reset: %d
\n
"
,
"Failed to request GPIO_%d for reset: %d
\n
"
,
CONFIG_SND_BF5XX_RESET_GPIO_NUM
,
ret
);
CONFIG_SND_BF5XX_RESET_GPIO_NUM
,
ret
);
goto
gpio_err
;
return
ret
;
}
}
#endif
#endif
...
...
sound/soc/blackfin/bf5xx-ac97.h
View file @
0d054318
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
#ifndef _BF5XX_AC97_H
#ifndef _BF5XX_AC97_H
#define _BF5XX_AC97_H
#define _BF5XX_AC97_H
extern
struct
snd_ac97_bus_ops
bf5xx_ac97_ops
;
extern
struct
snd_ac97
*
ac97
;
extern
struct
snd_ac97
*
ac97
;
/* Frame format in memory, only support stereo currently */
/* Frame format in memory, only support stereo currently */
struct
ac97_frame
{
struct
ac97_frame
{
...
...
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