diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-12-01 22:55:39 +0000 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-12-16 16:44:36 +0100 |
commit | ebe88b6ae41ff8f2b48608b6019c4341aa24bcea (patch) | |
tree | 33c3e4590e449e3988d58d6d426853fdf920d72d /fs/read_write.c | |
parent | c7b91b33cf446ec09eedf4594cff8d7b85ef6870 (diff) |
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 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions