Skip to content
Commit 7d2dbcf9 authored by Ben Dooks's avatar Ben Dooks
Browse files

[ARM] S3C: Fix scaler1 clock rate information



The pwm-scaler0 and pwm-scaler1 clocks have their
.id field set to -1 as they are not referenced to
any specific device. However, parts of the pwm-clock
code used the .id field to identify which scaler
clock was being used.

Fix the problem by comparing against the pointer to
the clock to identify the scalers.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 82fd8e68
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment