diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-01-05 20:58:45 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-01-18 11:47:07 +0100 |
commit | 40619f7dd3ef05ae7861bc60d401585d316e1374 (patch) | |
tree | 4c04db826b89b69b351aea420db426f53841fe54 /drivers/base/regmap/internal.h | |
parent | drm/i915: Move on the new pm runtime interface (diff) | |
download | linux-40619f7dd3ef05ae7861bc60d401585d316e1374.tar.xz linux-40619f7dd3ef05ae7861bc60d401585d316e1374.zip |
PM: clock_ops: fix missing clk_prepare() return value check
clk_prepare() can fail, so check its status and if it fails,
issue an error message and change the clock_entry_status to
PCE_STATUS_ERROR.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/regmap/internal.h')
0 files changed, 0 insertions, 0 deletions