]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: mtk-disp: Implement atomic API .get_state()
authorJitao Shi <jitao.shi@mediatek.com>
Sun, 8 Aug 2021 13:24:33 +0000 (21:24 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 2 Sep 2021 20:27:46 +0000 (22:27 +0200)
commita00dbb80b81a5e8078f24c748b85d84ce5ee8873
tree9a791958e0ae6d1b1fb9737eef14286fed39788d
parentabb1956a9cd1c235ecf8c37612dfe87d0e30bea4
pwm: mtk-disp: Implement atomic API .get_state()

Switch the driver to support the .get_state() method.

Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
[thierry.reding@gmail.com: add missing linux/bitfield.h include]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-mtk-disp.c