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
0f8a61fc
Commit
0f8a61fc
authored
Jun 18, 2011
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] em28xx: Fix a wrong enum at the ac97 control tables
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
00d2e7ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
drivers/media/video/em28xx/em28xx-core.c
drivers/media/video/em28xx/em28xx-core.c
+8
-3
No files found.
drivers/media/video/em28xx/em28xx-core.c
View file @
0f8a61fc
...
@@ -314,12 +314,12 @@ int em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val)
...
@@ -314,12 +314,12 @@ int em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val)
return
0
;
return
0
;
}
}
struct
em28xx_vol_table
{
struct
em28xx_vol_
i
table
{
enum
em28xx_amux
mux
;
enum
em28xx_amux
mux
;
u8
reg
;
u8
reg
;
};
};
static
struct
em28xx_vol_table
inputs
[]
=
{
static
struct
em28xx_vol_
i
table
inputs
[]
=
{
{
EM28XX_AMUX_VIDEO
,
AC97_VIDEO_VOL
},
{
EM28XX_AMUX_VIDEO
,
AC97_VIDEO_VOL
},
{
EM28XX_AMUX_LINE_IN
,
AC97_LINEIN_VOL
},
{
EM28XX_AMUX_LINE_IN
,
AC97_LINEIN_VOL
},
{
EM28XX_AMUX_PHONE
,
AC97_PHONE_VOL
},
{
EM28XX_AMUX_PHONE
,
AC97_PHONE_VOL
},
...
@@ -403,7 +403,12 @@ static int em28xx_set_audio_source(struct em28xx *dev)
...
@@ -403,7 +403,12 @@ static int em28xx_set_audio_source(struct em28xx *dev)
return
ret
;
return
ret
;
}
}
static
const
struct
em28xx_vol_table
outputs
[]
=
{
struct
em28xx_vol_otable
{
enum
em28xx_aout
mux
;
u8
reg
;
};
static
const
struct
em28xx_vol_otable
outputs
[]
=
{
{
EM28XX_AOUT_MASTER
,
AC97_MASTER_VOL
},
{
EM28XX_AOUT_MASTER
,
AC97_MASTER_VOL
},
{
EM28XX_AOUT_LINE
,
AC97_LINE_LEVEL_VOL
},
{
EM28XX_AOUT_LINE
,
AC97_LINE_LEVEL_VOL
},
{
EM28XX_AOUT_MONO
,
AC97_MASTER_MONO_VOL
},
{
EM28XX_AOUT_MONO
,
AC97_MASTER_MONO_VOL
},
...
...
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