]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/pwm/pwm-fsl-ftm.c
pwm: ftm: Correctly track usage count
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 15 Oct 2014 05:21:33 +0000 (13:21 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 1 Dec 2014 09:43:45 +0000 (10:43 +0100)
commit8e6e76510287d1a08c7c36e8e076b1314f59d9c4
tree35ba37dfcc413a40e94332f6adc7558f5c098d13
parent06e4cb6b1d5c9dba007b1f7a039384b2fc1a8827
pwm: ftm: Correctly track usage count

No matter how many times the FTM PWM is enabled, the use_count will
always be one.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-fsl-ftm.c