pwm: rockchip: Make pwm polarity to be configured correctly
authorZhou weixin <zwx@rock-chips.com>
Wed, 17 Aug 2016 02:18:30 +0000 (10:18 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 24 Aug 2016 05:12:36 +0000 (13:12 +0800)
commit487c53d3b909cbee287e153bc19885637235f495
treea97aa44f68fe90465ea7d7c0672a5bca105d3d55
parent5aa50a28afa86cf7559fb47fee21130433af35a9
pwm: rockchip: Make pwm polarity to be configured correctly

If pwm polarity was configured with different values at uboot,
the enable_conf would not be configured correctly.

Change-Id: I55b9ccc262382951a8a82810f1be74ce9460f266
Signed-off-by: Zhou weixin <zwx@rock-chips.com>
drivers/pwm/pwm-rockchip.c