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
8b83a193
Commit
8b83a193
authored
Jun 30, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: WM8974 cosmetic cleanups
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
cb11d39e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sound/soc/codecs/wm8974.c
sound/soc/codecs/wm8974.c
+4
-3
No files found.
sound/soc/codecs/wm8974.c
View file @
8b83a193
/*
/*
* wm8974.c -- WM8974 ALSA Soc Audio driver
* wm8974.c -- WM8974 ALSA Soc Audio driver
*
*
* Copyright 2006 Wolfson Microelectronics PLC.
* Copyright 2006
-2009
Wolfson Microelectronics PLC.
*
*
* Author: Liam Girdwood <linux@wolfsonmicro.com>
* Author: Liam Girdwood <linux@wolfsonmicro.com>
*
*
...
@@ -357,7 +357,7 @@ static void pll_factors(unsigned int target, unsigned int source)
...
@@ -357,7 +357,7 @@ static void pll_factors(unsigned int target, unsigned int source)
if
((
Ndiv
<
6
)
||
(
Ndiv
>
12
))
if
((
Ndiv
<
6
)
||
(
Ndiv
>
12
))
printk
(
KERN_WARNING
printk
(
KERN_WARNING
"WM8974 N value %u outwith recommended range!
d
\n
"
,
"WM8974 N value %u outwith recommended range!
\n
"
,
Ndiv
);
Ndiv
);
pll_div
.
n
=
Ndiv
;
pll_div
.
n
=
Ndiv
;
...
@@ -546,6 +546,7 @@ static int wm8974_pcm_hw_params(struct snd_pcm_substream *substream,
...
@@ -546,6 +546,7 @@ static int wm8974_pcm_hw_params(struct snd_pcm_substream *substream,
adn
|=
0x1
<<
1
;
adn
|=
0x1
<<
1
;
break
;
break
;
case
SNDRV_PCM_RATE_44100
:
case
SNDRV_PCM_RATE_44100
:
case
SNDRV_PCM_RATE_48000
:
break
;
break
;
}
}
...
@@ -822,7 +823,7 @@ MODULE_DEVICE_TABLE(i2c, wm8974_i2c_id);
...
@@ -822,7 +823,7 @@ MODULE_DEVICE_TABLE(i2c, wm8974_i2c_id);
static
struct
i2c_driver
wm8974_i2c_driver
=
{
static
struct
i2c_driver
wm8974_i2c_driver
=
{
.
driver
=
{
.
driver
=
{
.
name
=
"WM8974
I2C Codec
"
,
.
name
=
"WM8974"
,
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
},
},
.
probe
=
wm8974_i2c_probe
,
.
probe
=
wm8974_i2c_probe
,
...
...
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