Lihua Yao d15ec0b482 ALSA: ac97: fix check of pm_runtime_get_sync failure
pm_runtime_get_sync returns negative on failure.

Fixes: 74426fbff66e ("ALSA: ac97: add an ac97 bus")
Signed-off-by: Lihua Yao <ylhuajnu@163.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-08-19 18:36:50 +02:00
..
2018-06-29 12:05:05 +01:00
2017-09-04 14:50:49 +02:00
2018-08-03 16:11:43 +02:00
2018-08-03 16:11:35 +02:00
2018-08-13 12:12:31 +02:00