1
0
Fork 0
remarkable-linux/sound/hda
Jaroslav Kysela 0b1ca750b5 ALSA: hdac_regmap - fix the register access for runtime PM
[ Upstream commit 8198868f0a ]

Call path:

  1) snd_hdac_power_up_pm()
  2) snd_hdac_power_up()
  3) pm_runtime_get_sync()
  4) __pm_runtime_resume()
  5) rpm_resume()

The rpm_resume() returns 1 when the device is already active.
Because the return value is unmodified, the hdac regmap read/write
functions should allow this value for the retry I/O operation, too.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-07-10 20:19:59 -04:00
..
Kconfig ALSA: hda - Add regmap support 2015-03-23 13:19:36 +01:00
Makefile ALSA: hda - Add regmap support 2015-03-23 13:19:36 +01:00
array.c ALSA: hda - Move generic array helpers to core lib 2015-03-23 13:19:35 +01:00
hda_bus_type.c ALSA: hda - Make snd_hda_bus_type public 2015-03-23 13:15:51 +01:00
hdac_bus.c ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00
hdac_device.c ALSA: hda - Fix possible race on regmap bypass flip 2016-07-10 20:19:59 -04:00
hdac_regmap.c ALSA: hdac_regmap - fix the register access for runtime PM 2016-07-10 20:19:59 -04:00
hdac_sysfs.c ALSA: hda - Expose codec type sysfs 2015-04-13 10:43:54 +02:00
local.h ALSA: hda - Add widget sysfs tree 2015-03-23 13:17:27 +01:00
trace.c ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00
trace.h ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00