summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-05-19 21:04:23 +0300
committerTakashi Iwai <tiwai@suse.de>2017-05-21 09:57:31 +0300
commitf839cc1cbd29f2160ef4e621b920e254cc84133a (patch)
tree70c472a4897b282059a54f3efe4f0940cedb62e0 /include/linux/flex_array.h
parentdcab5fb7a5b0472e035da7dfe21168802c1b9d3b (diff)
downloadlinux-f839cc1cbd29f2160ef4e621b920e254cc84133a.tar.xz
ALSA: pcm: Use a common helper for PCM state check and hwsync
The mostly same codes for checking the current PCM state and calling hwsync are found in a few places. This patch simplifies them by creating a common helper function. It also fixes a couple of cases where we missed the proper state check (e.g. PAUSED state wasn't handled in rewind and snd_pcm_hwsync()), too. Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions