Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375241
b: refs/heads/master
c: 6c35ae3
h: refs/heads/master
i:
  375239: a7417e1
v: v3
  • Loading branch information
Takashi Iwai committed May 10, 2013
1 parent ca53513 commit fc8cac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d24f5a9ad9febffa53b1d3fcdf36c9a2283d848e
refs/heads/master: 6c35ae3c327ef4b5f51d3428d2ba47ac2153e882
4 changes: 2 additions & 2 deletions trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid,
"NID=0x%x, stream=0x%x, channel=%d, format=0x%x\n",
nid, stream_tag, channel_id, format);
p = get_hda_cvt_setup(codec, nid);
if (!p || p->active)
if (!p)
return;

if (codec->pcm_format_first)
Expand Down Expand Up @@ -1630,7 +1630,7 @@ void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid,

snd_printdd("hda_codec_cleanup_stream: NID=0x%x\n", nid);
p = get_hda_cvt_setup(codec, nid);
if (p && p->active) {
if (p) {
/* here we just clear the active flag when do_now isn't set;
* actual clean-ups will be done later in
* purify_inactive_streams() called from snd_hda_codec_prpapre()
Expand Down

0 comments on commit fc8cac9

Please sign in to comment.