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
bc6c531e
Commit
bc6c531e
authored
Jul 27, 2006
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALSA] HDA driver - do not set mute flag for dB scale (follow HDA specification)
Signed-off-by:
Jaroslav Kysela
<
perex@suse.cz
>
parent
b7c6b034
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.c
+0
-7
No files found.
sound/pci/hda/hda_codec.c
View file @
bc6c531e
...
...
@@ -856,13 +856,6 @@ int snd_hda_mixer_amp_tlv(struct snd_kcontrol *kcontrol, int op_flag,
val2
=
(((
caps
&
AC_AMPCAP_STEP_SIZE
)
>>
AC_AMPCAP_STEP_SIZE_SHIFT
)
+
1
)
*
25
;
val1
=
-
((
caps
&
AC_AMPCAP_OFFSET
)
>>
AC_AMPCAP_OFFSET_SHIFT
);
val1
=
((
int
)
val1
)
*
((
int
)
val2
);
if
(
caps
&
AC_AMPCAP_MUTE
)
val2
|=
0x10000
;
if
((
val2
&
0x10000
)
==
0
&&
dir
==
HDA_OUTPUT
)
{
caps
=
query_amp_caps
(
codec
,
nid
,
HDA_INPUT
);
if
(
caps
&
AC_AMPCAP_MUTE
)
val2
|=
0x10000
;
}
if
(
put_user
(
SNDRV_CTL_TLVT_DB_SCALE
,
_tlv
))
return
-
EFAULT
;
if
(
put_user
(
2
*
sizeof
(
unsigned
int
),
_tlv
+
1
))
...
...
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