Commit 55e8f996 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

msm: clock: Enhance sanity checks



If someone passes in an ERR_PTR to clk_enable, the API
will still try to dereference the pointer, leading
to a data abort. Enhance error checking in this and
other clock APIs.

Change-Id: Ibf04c4d7b18c697627c55d47cba41cd4e940c9a9
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent d5247660
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment