diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-12-01 23:55:39 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-12-16 16:44:36 +0100 |
commit | ebe88b6ae41ff8f2b48608b6019c4341aa24bcea (patch) | |
tree | 33c3e4590e449e3988d58d6d426853fdf920d72d /drivers/mmc | |
parent | pwm: lpss: Remove ->free() callback (diff) | |
download | linux-ebe88b6ae41ff8f2b48608b6019c4341aa24bcea.tar.xz linux-ebe88b6ae41ff8f2b48608b6019c4341aa24bcea.zip |
pwm: bcm2835: Calculate scaler in ->config()
Currently pwm-bcm2835 assumes a fixed clock rate and stores the
resulting scaler in the driver structure. But with the upcoming
PWM clock support for clk-bcm2835 the rate could change, so
calculate the scaler in the ->config() callback.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions