• T
    ALSA: hda - Check the return value from pm_runtime_get/put*() · fbce23a0
    Takashi Iwai 提交于
    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: NTakashi Iwai <tiwai@suse.de>
    fbce23a0
hdac_regmap.c 12.0 KB
反馈
建议
客服 返回
顶部