PM / clock_ops: report clock errors from clk_enable()
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 14 Jan 2014 12:23:42 +0000 (12:23 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Jan 2014 00:50:50 +0000 (01:50 +0100)
commit5cda3fbb155bff96c971d058ed040d5c85612fd8
treeae3bc88e136fd24a3ed4cd8e358897c6967069e8
parentafdd3ab315a4454ccb7895ddade2c20bdf91f5c6
PM / clock_ops: report clock errors from clk_enable()

If clk_enable() fails, then print a message so that the user can see
what is happening instead of silently failing to enable the clock.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/clock_ops.c