commit | 7d2dbcf9faad074c52a941d01fc21eea3c95ca33 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Fri Nov 21 10:36:06 2008 +0000 |
committer | Ben Dooks <ben-linux@fluff.org> | Mon Dec 15 21:46:25 2008 +0000 |
tree | e06a1dc63a99afd6471d17d228a66226aa321f4d | |
parent | 82fd8e681d60a195ce6e9fc783d0ebe7a81b1ead [diff] |
[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: Ben Dooks <ben-linux@fluff.org>