Thread (2 messages) flat view 2 messages, 2 authors, 2011-02-10
DORMANTno replies

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

From: paul@pwsan.com (Paul Walmsley)
Date: 2011-02-10 20:40:52
Also in: linux-omap

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 <redacted>
Reported-by: Sumit Semwal <redacted>
Cc: Sumit Semwal <redacted>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <redacted>
Cc: Kevin Hilman <redacted>
Cc: Partha Basak <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help