summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorLino Sanfilippo <LinoSanfilippo@gmx.de>2020-12-09 23:48:25 +0300
committerThierry Reding <thierry.reding@gmail.com>2020-12-17 16:19:01 +0300
commit2f81b51d0d02074502ad27424c228ca760823668 (patch)
tree5639cebb9ceb430ff61425211ca88f61d6ab62cc /scripts/gdb
parentbb72e1dbae0e759252fcdb4a97917200e165bf91 (diff)
downloadlinux-2f81b51d0d02074502ad27424c228ca760823668.tar.xz
pwm: bcm2835: Support apply function for atomic configuration
Use the newer .apply function of pwm_ops instead of .config, .enable, .disable and .set_polarity. This guarantees atomic changes of the pwm controller configuration. It also reduces the size of the driver. Since now period is a 64 bit value, add an extra check to reject periods that exceed the possible max value for the 32 bit register. This has been tested on a Raspberry PI 4. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions