diff options
| author | Girish Mahadevan <girishm@codeaurora.org> | 2016-05-25 15:50:07 -0600 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-02 10:56:09 -0700 |
| commit | f09173df85d400ff5079b6c9bddc065c44088af2 (patch) | |
| tree | b2cf7f670537ebf20fa17aac54aea2ae5370f076 /kernel/sysctl_binary.c | |
| parent | a674be9d15884d30ebb6b9e9988c436b286841d9 (diff) | |
serial: msm_serial_hs: Move clk count voting out of runtime callbacks
Don't modify the ref count variable clk count inside the runtime callbacks.
Doing so could result in a case where the driver might end up calling a put
twice on the runtime object. The resulting imbalance will leave the runtime
state for the device in a bad state.
Change-Id: I34989768811b23762c4afe3e33e229ffa3f1db17
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
