Home
last modified time | relevance | path

Searched hist:fbce23a0b95763dfc4961ce6240e055c39f497ed (Results 1 – 3 of 3) sorted by relevance

/linux/sound/hda/
H A Dhdac_regmap.cdiff fbce23a0b95763dfc4961ce6240e055c39f497ed Fri Jul 17 16:27:33 CEST 2015 Takashi Iwai <tiwai@suse.de> 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>
H A Dhdac_device.cdiff fbce23a0b95763dfc4961ce6240e055c39f497ed Fri Jul 17 16:27:33 CEST 2015 Takashi Iwai <tiwai@suse.de> 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>
/linux/include/sound/
H A Dhdaudio.hdiff fbce23a0b95763dfc4961ce6240e055c39f497ed Fri Jul 17 16:27:33 CEST 2015 Takashi Iwai <tiwai@suse.de> 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>