commit | 2291e49850b1b39e0c6e60327dab3ed98991340d | [log] [tgz] |
---|---|---|
author | Kever Yang <kever.yang@rock-chips.com> | Wed Jul 19 19:54:23 2017 +0800 |
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | Thu Jul 27 14:59:01 2017 +0200 |
tree | 7744769b661b85832623ac794c093f4ea39f2ae1 | |
parent | cba88f1bb9aed13267991a9b93d33633b3f4f365 [diff] |
rockchip: pwm: add mask for config setting Use mask to clear old setting before direct set the new config, or else there it will mess up the config when it's not the same with default value. Fixes: 3851059 rockchip: Setup default PWM flags Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>