lkml.org 
[lkml]   [2015]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] clk: clk_set_parent() with current parent shouldn't fail
From
Date
Am Montag, den 02.02.2015, 14:11 -0800 schrieb Stephen Boyd:
> If a driver calls clk_set_parent(clk, parent) and parent is the
> current parent of clk we shouldn't fail in any case.
> Unfortunately if clk is a read-only mux we return -ENOSYS
> because we think we can't change the parent, except for in this
> special case where we don't actually need to change the parent at
> all. Return 0 in such a situation.
>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>

regards
Philipp



\
 
 \ /
  Last update: 2015-02-03 11:01    [W:0.048 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site