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
f153c6af
Commit
f153c6af
authored
May 15, 2012
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into topic/hda
parents
7560931f
b0791dda
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel.c
+4
-2
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+3
-3
sound/soc/sh/migor.c
sound/soc/sh/migor.c
+1
-1
No files found.
sound/pci/hda/hda_intel.c
View file @
f153c6af
...
...
@@ -789,11 +789,13 @@ static unsigned int azx_rirb_get_response(struct hda_bus *bus,
{
struct
azx
*
chip
=
bus
->
private_data
;
unsigned
long
timeout
;
unsigned
long
loopcounter
;
int
do_poll
=
0
;
again:
timeout
=
jiffies
+
msecs_to_jiffies
(
1000
);
for
(;;)
{
for
(
loopcounter
=
0
;;
loopcounter
++
)
{
if
(
chip
->
polling_mode
||
do_poll
)
{
spin_lock_irq
(
&
chip
->
reg_lock
);
azx_update_rirb
(
chip
);
...
...
@@ -809,7 +811,7 @@ static unsigned int azx_rirb_get_response(struct hda_bus *bus,
}
if
(
time_after
(
jiffies
,
timeout
))
break
;
if
(
bus
->
needs_damn_long_delay
)
if
(
bus
->
needs_damn_long_delay
||
loopcounter
>
3000
)
msleep
(
2
);
/* temporary workaround */
else
{
udelay
(
10
);
...
...
sound/pci/hda/patch_sigmatel.c
View file @
f153c6af
...
...
@@ -4390,8 +4390,8 @@ static int stac92xx_init(struct hda_codec *codec)
def_conf
=
get_defcfg_connect
(
def_conf
);
/* skip any ports that don't have jacks since presence
* detection is useless */
if
(
def_conf
!=
AC_JACK_PORT_
COMPLEX
)
{
if
(
def_conf
!=
AC_JACK_PORT_NONE
)
if
(
def_conf
!=
AC_JACK_PORT_
NONE
&&
!
is_jack_detectable
(
codec
,
nid
))
{
stac_toggle_power_map
(
codec
,
nid
,
1
);
continue
;
}
...
...
sound/soc/sh/migor.c
View file @
f153c6af
...
...
@@ -35,7 +35,7 @@ static unsigned long siumckb_recalc(struct clk *clk)
return
codec_freq
;
}
static
struct
clk_ops
siumckb_clk_ops
=
{
static
struct
sh_
clk_ops
siumckb_clk_ops
=
{
.
recalc
=
siumckb_recalc
,
};
...
...
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