OMAP2+: clockdomain: Add per clkdm lock to prevent concurrent state programming
Since the clkdm state programming is now done from within the hwmod framework (which uses a per-hwmod lock) instead of the being done from the clock framework (which used a global lock), there is now a need to have per-clkdm locking to prevent races between different hwmods/modules belonging to the same clock domain concurrently programming the clkdm state. Signed-off-by:Rajendra Nayak <rnayak@ti.com> Signed-off-by:
Benoit Cousson <b-cousson@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by:
Paul Walmsley <paul@pwsan.com>
Showing
- arch/arm/mach-omap2/clockdomain.c 40 additions, 7 deletionsarch/arm/mach-omap2/clockdomain.c
- arch/arm/mach-omap2/clockdomain.h 2 additions, 0 deletionsarch/arm/mach-omap2/clockdomain.h
- arch/arm/mach-omap2/clockdomain2xxx_3xxx.c 4 additions, 2 deletionsarch/arm/mach-omap2/clockdomain2xxx_3xxx.c
- arch/arm/mach-omap2/clockdomain44xx.c 4 additions, 9 deletionsarch/arm/mach-omap2/clockdomain44xx.c
Loading
Please register or sign in to comment