From: Guenter Roeck Date: Sat, 30 Jul 2011 06:05:25 +0000 (-0700) Subject: hwmon: (pmbus/lm25066) Ignore byte writes to non-zero pages X-Git-Tag: v3.1-rc2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a2805e845761ea76a6ad5688d637b2624de0cab;p=pandora-kernel.git hwmon: (pmbus/lm25066) Ignore byte writes to non-zero pages pmbus_clear_faults() attempts to clear faults on non-existing real pages. As a result, the command error bit in the status register is set, and faults are not really cleared. All byte writes to non-zero pages are requests to clear the status register on that page. Since non-zero pages are virtual and do not exist on the chip, there is nothing to do, and such requests have to be ignored. This fixes above problem. Signed-off-by: Guenter Roeck Reviewed-by: Robert Coulson --- Reading git-diff-tree failed