diff options
author | Lihua Yao <ylhuajnu@163.com> | 2018-08-15 18:20:34 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-08-19 19:36:50 +0300 |
commit | d15ec0b482ff502e4e19e43d15aa5072e4290199 (patch) | |
tree | fbde3b834ca7300329cd1dce48d7d88d82cdbe36 /sound/ac97/ac97_core.h | |
parent | c7b8170790c19293acd835dc50b8247ec207d4a3 (diff) | |
download | linux-d15ec0b482ff502e4e19e43d15aa5072e4290199.tar.xz |
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>
Diffstat (limited to 'sound/ac97/ac97_core.h')
0 files changed, 0 insertions, 0 deletions