summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-04-14 19:17:38 (GMT)
committerThierry Reding <thierry.reding@gmail.com>2016-05-17 12:48:02 (GMT)
commit43a276b003ed2e03de9d94b02a1ba49c1849b931 (patch)
treeca2442d6fb895eb663ad358e43143fafa23d8cbc /usr
parenta8c3862551e063344f80c3e05d595f9d8836f355 (diff)
downloadlinux-43a276b003ed2e03de9d94b02a1ba49c1849b931.tar.xz
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 'usr')
0 files changed, 0 insertions, 0 deletions