diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-07-17 16:27:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-07-17 16:27:33 +0200 |
commit | fbce23a0b95763dfc4961ce6240e055c39f497ed (patch) | |
tree | cfd7a1a394f38e2210ca93432b3a3dd60836a4fd /arch/mips/loongson/loongson-3/platform.c | |
parent | 6986a0e2556df3dfb54c624b50b02936bd1e00ef (diff) |
ALSA: hda - Check the return value from pm_runtime_get/put*()
This patch changes the return type of snd_hdac_power_up/down() and
variants to pass the error code from the underlying
pm_runtime_get/put() calls. Currently they are ignored, but in most
places, these should be handled properly.
As an example, the regmap handler is updated to check the return value
and accesses the register only when the wakeup succeeds.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/mips/loongson/loongson-3/platform.c')
0 files changed, 0 insertions, 0 deletions