diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-09-29 12:57:42 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-09-29 12:57:42 +0200 |
commit | 094435d41df823dde850e193add57534a5b709c9 (patch) | |
tree | 3689474c22c3a771007a2f3095d622affe36dfcc /init | |
parent | d8dfacf8b50c260d79864933ac82a8198a0908a9 (diff) | |
download | op-kernel-dev-094435d41df823dde850e193add57534a5b709c9.zip op-kernel-dev-094435d41df823dde850e193add57534a5b709c9.tar.gz |
ALSA: pcm: Avoid double hw_free calls at releasing a stream
snd_pcm_release_substream() always calls hw_free op when the stream
was opened. This is superfluous in most cases because it's been
already released via explicit hw_free ioctl. Although this double
call is usually OK as this callback should be written to be called
multiple times, it's better to avoid superfluous calls.
Reported-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Jeeja Kp <jeeja.kp@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions