Skip to content
Commit be4c23c9 authored by Ben Dooks's avatar Ben Dooks Committed by Jean Delvare
Browse files

hwmon: (s3c-hwmon) Ignore invalid divider settings



Avoid registering channels that have zero divider settings in them, as this
will only lead to kernel OOPS from divide-by-zero when the sysfs entry is
read.

Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent a9366e61
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