ALSA: ac97: fix check of pm_runtime_get_sync failure
pm_runtime_get_sync returns negative on failure. Fixes: 74426fbf ("ALSA: ac97: add an ac97 bus") Signed-off-by: NLihua Yao <ylhuajnu@163.com> Acked-by: NRobert Jarzmik <robert.jarzmik@free.fr> Cc: <stable@vger.kernel.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Showing
想要评论请 注册 或 登录