ALSA: compress: Use snd_compr_get_poll on error path
We have a function that returns the appropriate flags for the stream direction, so we should use it. Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: NVinod Koul <vinod.koul@intel.com> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Showing
想要评论请 注册 或 登录