ALSA: pcm: Clean up SNDRV_PCM_IOCTL_PAUSE code
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 May 2016 12:58:04 +0000 (14:58 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Jun 2017 05:43:09 +0000 (07:43 +0200)
commit34bcc44abb302d1586bf1eb7548be75d0f56babc
tree7a578981071af43e665aa8f5a9d4614e5cddcdd1
parent7f8a01b77b5be996d0665d5eb7be8645f3ecb217
ALSA: pcm: Clean up SNDRV_PCM_IOCTL_PAUSE code

Use snd_pcm_action_lock_irq() helper instead of open coding.
No functional change.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c