Skip to content
Commit 832ce36f authored by Song Chen's avatar Song Chen Committed by Greg Kroah-Hartman
Browse files

staging: greybus: introduce pwm_ops::apply



Introduce newer .apply function in pwm_ops to replace legacy operations
including enable, disable, config and set_polarity.

This guarantees atomic changes of the pwm controller configuration.

Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarSong Chen <chensong_2000@189.cn>
Link: https://lore.kernel.org/r/1647597432-27586-1-git-send-email-chensong_2000@189.cn


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 56bd392b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment