diff options
author | Vaibhav Bedia <vaibhav.bedia@ti.com> | 2012-05-08 05:55:30 (GMT) |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-05-08 05:55:30 (GMT) |
commit | d76316fef3f2ecec210b78a38263a06bb4f6c1b9 (patch) | |
tree | d631a711e58952580f351ac519a4eaaca4580a5e /lib/hweight.c | |
parent | f1bbbb1365fdb1abe29f31d4ac455f265f9bc2ff (diff) | |
download | linux-d76316fef3f2ecec210b78a38263a06bb4f6c1b9.tar.xz |
ARM: OMAP3+: dpll: Configure autoidle mode only if it's supported
The current DPLL code enables and disables autoidle features
without checking whether the autoidle register is available.
Fix this by putting a check for the existence of the autoidle
register in the DPLL data.
With such a check in place, for DPLLs which do not support this
feature, simply skipping the autoidle_reg entry in the DPLL data
is sufficient.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions