[PATCH v2] OMAP: hwmod: Do not expect an entry in clkdev for opt_clks

Paul Walmsley paul at pwsan.com
Thu Feb 10 15:40:52 EST 2011


On Wed, 2 Feb 2011, Rajendra Nayak wrote:

> The _add_optional_clock_alias function expects an entry
> already existing in the clkdev table in the form of
> <dev-id=NULL, con-id=role> which might not be the case
> always.
> 
> Instead, just check if an entry already exists in clkdev
> in the <dev-id=dev_name, con-id=role> form, else go ahead
> and add one.
> 
> Remove any assumption of an entry already existing in clkdev
> table in any form.
> 
> Since this means, adding a new entry in clkdev if it does
> not already exist, and not really adding an 'alias',
> also rename the function name
> (s/_add_optional_clock_alias/_add_optional_clock_clkdev)
> to reflect this.
> 
> Signed-off-by: Rajendra Nayak <rnayak at ti.com>
> Reported-by: Sumit Semwal <sumit.semwal at ti.com>
> Cc: Sumit Semwal <sumit.semwal at ti.com>
> Cc: Paul Walmsley <paul at pwsan.com>
> Cc: Benoit Cousson <b-cousson at ti.com>
> Cc: Kevin Hilman <khilman at ti.com>
> Cc: Partha Basak <p-basak2 at ti.com>

Thanks.  I changed the subject line to read:

OMAP2+: omap_device/clock: Do not expect an entry in clkdev for opt_clks

before queuing for 2.6.39 in the branch 'omap_device_a_2.6.39' of 
git://git.pwsan.com/linux-2.6

Also added to the 'integration-2.6.39' branch of 
git://git.pwsan.com/linux-2.6 and is part of the stable tag 
'integration-2.6.39-20110210-002'


- Paul



More information about the linux-arm-kernel mailing list