summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/internal.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-03-02 01:20:38 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 00:37:59 +0100
commit076395cae20381340a0e92ad3d76fe3e280f8a1c (patch)
tree800c5e28b6971666f43fe5b585894bbaf0c65d06 /drivers/regulator/internal.h
parent0ba554e45c674181a3e5c42c7a6cccbbc75a0dd7 (diff)
downloadtalos-obmc-linux-076395cae20381340a0e92ad3d76fe3e280f8a1c.tar.gz
talos-obmc-linux-076395cae20381340a0e92ad3d76fe3e280f8a1c.zip
PM / Domains: Propagate start and restore errors during runtime resume
During runtime resume the return values of the start and restore steps are ignored. As a result drivers are not notified of runtime resume failures and can't propagate them up. Fix it by returning an error if either the start or restore step fails, and clean up properly in the error path. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/regulator/internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud