commit | 6448fcba2a7fe6856ba74bef623559a00267f54e | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Apr 11 18:05:00 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Apr 17 07:37:24 2018 +0200 |
tree | 34292efb425e1796764842a97268381425ac9fe1 | |
parent | 763e5067aac91ce569a8b1212e6c31968bc7d325 [diff] |
ALSA: pcm: Unify playback and capture poll callbacks The poll callbacks for playback and capture directions are doing fairly similar but with a slight difference. This patch unifies the two functions into a single callback. The advantage of this refactoring is that the direction-specific procedures become clearer. There should be no functional change but only the code cleanup. Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>