diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-04-14 21:17:38 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2016-05-17 14:48:02 +0200 |
commit | 43a276b003ed2e03de9d94b02a1ba49c1849b931 (patch) | |
tree | ca2442d6fb895eb663ad358e43143fafa23d8cbc /drivers/bus/omap_l3_noc.h | |
parent | pwm: Keep PWM state in sync with hardware state (diff) | |
download | linux-43a276b003ed2e03de9d94b02a1ba49c1849b931.tar.xz linux-43a276b003ed2e03de9d94b02a1ba49c1849b931.zip |
pwm: Introduce the pwm_state concept
The PWM state, represented by its period, duty_cycle and polarity is
currently directly stored in the PWM device. Declare a pwm_state
structure embedding those field so that we can later use this struct
to atomically update all the PWM parameters at once.
All pwm_get_xxx() helpers are now implemented as wrappers around
pwm_get_state().
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/bus/omap_l3_noc.h')
0 files changed, 0 insertions, 0 deletions