]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aoa-soundbus: Switch to dev_pm_ops
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 5 Aug 2015 14:19:31 +0000 (16:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 Aug 2015 14:47:47 +0000 (16:47 +0200)
commit61d869c26168d6bb77ed87caf717f7474c3bfb7b
tree738276be992406d9aec35d1b17a35655060ebcd8
parenta7ddb5f7ecbeb3c09b37429a05a4197f125a6616
ALSA: aoa-soundbus: Switch to dev_pm_ops

Update the aoa-soundbus framework to use dev_pm_ops rather than the
deprecated legacy suspend and resume callbacks.

Since there isn't anything special to do at the bus level the bus driver
does not have to implement any callbacks. The device driver core will
automatically pick up and execute the device's PM ops.

As there is only a single aoa-soundbus driver implementing suspend and
resume, update both the core and driver at the same time to avoid
unnecessary code churn.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/fabrics/layout.c
sound/aoa/soundbus/core.c
sound/aoa/soundbus/soundbus.h