Bug 9040 - s3c2440_clk_add disables inactive clocks
Summary: s3c2440_clk_add disables inactive clocks
Status: CLOSED OBSOLETE
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: ARM (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Ben Dooks
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 06:29 UTC by Alec Tsai
Modified: 2012-05-21 14:46 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.22
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Alec Tsai 2007-09-19 06:29:09 UTC
Problem Description:

If we add the sanity check
    BUG_ON(!clk->usage);
before
    if ((--clk->usage) == 0)
in arch/arm/plat-s3c24xx/clock.c:clk_disable, this check gets triggered
by the two calls to clk_disable in
arch/arm/mach-s3c2440/clock.c:s3c2440_clk_add
Comment 1 Russell King 2007-09-22 09:34:13 UTC
This bug is for Ben Dooks to resolve, and I've pointed Ben at this bug.  However,
I can't assign it to him, nor add him as a CC.  Expect no further action from me
personally.
Comment 2 Natalie Protasevich 2007-11-28 18:46:31 UTC
Hopefully Ben knows this. I think this should be forwarded to ARM list, I'll try to do this.
Thanks.

Note You need to log in before you can comment on or make changes to this bug.