[PATCH 06/10] clk: Add support for a generic clock multiplexer

Stephen Boyd sboyd at codeaurora.org
Mon Apr 18 14:46:57 EDT 2011


On 04/18/2011 11:41 AM, Russell King - ARM Linux wrote:
> On Mon, Apr 18, 2011 at 07:34:21PM +0100, Russell King - ARM Linux wrote:
>> Oops, clk_get_sys() and clk_find() really should be fixed for this.  I'll
>> sort a patch for it.
> And here it is:
>
> 8<----
> Subject: [PATCH] Fix clkdev return value for NULL clk case
>
> clkdev may incorrectly cause a clkdev entry with a NULL clk to return
> -ENOENT.  This is not the intention of this code; -ENOENT should only
> be returned if the clock entry can not be found in the table.  Fix this.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

Thanks. Feel free to include a:

Reported-by: Stephen Boyd <sboyd at codeaurora.org>

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.




More information about the linux-arm-kernel mailing list