diff options
| author | Takashi Iwai <tiwai@suse.de> | 2017-05-19 20:04:23 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2017-05-21 08:57:31 +0200 |
| commit | f839cc1cbd29f2160ef4e621b920e254cc84133a (patch) | |
| tree | 70c472a4897b282059a54f3efe4f0940cedb62e0 /scripts/gdb/linux/lists.py | |
| parent | dcab5fb7a5b0472e035da7dfe21168802c1b9d3b (diff) | |
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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions
