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:
Vikram Mulukutla <markivx@codeaurora.org>
Loading
Please sign in to comment