drm: shmob_drm: Check clk_prepare_enable() return value
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 2 Dec 2013 00:52:20 +0000 (01:52 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:04:40 +0000 (11:04 +1000)
The clk_prepare_enable() call can fail. Check it's return value. We
can't propagate it all the way to the user as the KMS operations in
which the clock is enabled return a void.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found