aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <[email protected]>2009-06-08 13:17:31 -0400
committerDave Jones <[email protected]>2009-09-01 12:45:18 -0400
commit395913d0b1db37092ea3d9d69b832183b1dd84c5 (patch)
tree2b1aff8df27bfb02332ee4fe207a989244583c0a /drivers/mtd/lpddr/lpddr_cmds.c
parent0e625ac153126a0a62b7635fa9dc91f87ff39e38 (diff)
[CPUFREQ] remove rwsem lock from CPUFREQ_GOV_STOP call (second call site)
remove rwsem lock from CPUFREQ_GOV_STOP call (second call site) commit 42a06f2166f2f6f7bf04f32b4e823eacdceafdc9 Missed a call site for CPUFREQ_GOV_STOP to remove the rwlock taken around the teardown. To make a long story short, the rwlock write-lock causes a circular dependency with cancel_delayed_work_sync(), because the timer handler takes the read lock. Note that all callers to __cpufreq_set_policy are taking the rwsem. All sysfs callers (writers) hold the write rwsem at the earliest sysfs calling stage. However, the rwlock write-lock is not needed upon governor stop. Signed-off-by: Mathieu Desnoyers <[email protected]> Acked-by: Venkatesh Pallipadi <[email protected]> CC: [email protected] CC: [email protected] CC: Shaohua Li <[email protected]> CC: Pekka Enberg <[email protected]> CC: Dave Young <[email protected]> CC: "Rafael J. Wysocki" <[email protected]> CC: Rusty Russell <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] Signed-off-by: Dave Jones <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions