diff options
| author | Xu Kai <kaixu@codeaurora.org> | 2014-04-21 11:45:37 +0800 |
|---|---|---|
| committer | Xu Kai <kaixu@codeaurora.org> | 2014-04-21 17:23:03 +0800 |
| commit | 3044bc94e9d8845b29d98300f1c6af12ae6a235f (patch) | |
| tree | 628b79d463549c250ec98316f924c40fc8250586 /net/unix/af_unix.c | |
| parent | 04f8a4e5ef81c6fc97a161b6b2fde244defa4a0e (diff) | |
pwm: qpnp: use the correct parameter to check the change of PWM period
"pwm->period" is an external parameter that will be updated out
of the pwm-qpnp driver unexpectedly. It's improper to use this
parameter to check whether the expected period is different from
the one being used. "chip->pwm_config.pwm_period" is a pwm-qpnp
internal parameter, which always represents the current period,
so use it to fix the problem.
Change-Id: I455b828c8c9270ef0f32ab3533daa1bc2c7d183d
Signed-off-by: Xu Kai <kaixu@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
