commit | f8e62effcb842cadf8c15ceb6fcb8f607fde36a7 | [log] [tgz] |
---|---|---|
author | Patrick Daly <pdaly@codeaurora.org> | Tue Feb 18 20:21:34 2014 -0800 |
committer | Patrick Daly <pdaly@codeaurora.org> | Wed Feb 19 20:19:34 2014 -0800 |
tree | 3cbba792dba2887d0997806617053bd8e2eb6ea7 | |
parent | b8f811fc928e0c6521ce98b7dba80112ddb3c12f [diff] |
msm: clock-a7: Fix race condition between enable and set_rate The parent field is not modified when switching to the safe_parent, so refering to this in the enable op can get a stale value. Use the src_sel field instead, which is modified with the appropriate lock held when switching to the safe parent. CRs-fixed: 618986 Change-Id: Ic6b5a19137ad723e72ae68e9266ca70e31a51c49 Signed-off-by: Patrick Daly <pdaly@codeaurora.org>