diff options
| author | Axel Lin <[email protected]> | 2013-03-31 15:04:31 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2013-04-02 09:31:37 +0000 |
| commit | b014a30c5991e67aa90b6ff9bd4ec16435bbcefd (patch) | |
| tree | bd8053a202515f8d5d6792d6958c4e82b589a007 /drivers/pwm/pwm-twl.c | |
| parent | pwm: imx: Remove enabled field from struct imx_chip (diff) | |
| download | kernel-b014a30c5991e67aa90b6ff9bd4ec16435bbcefd.tar.gz kernel-b014a30c5991e67aa90b6ff9bd4ec16435bbcefd.zip | |
pwm: pxa: Remove clk_enabled field from struct pxa_pwm_chip
clk_enable/clk_disable maintain an enable_count, clk_prepare and clk_unprepare
also maintain a prepare_count. These APIs will do prepare/enable when the first
user calling these APIs, and do disable/unprepare when the corresponding counter
reach 0. Thus We don't need to maintain a clk_enabled counter here.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Eric Miao <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-twl.c')
0 files changed, 0 insertions, 0 deletions
