]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mfd: Improve diagnostics for WM8350 ID register probe
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Feb 2009 20:09:38 +0000 (21:09 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 17 Feb 2009 08:00:12 +0000 (09:00 +0100)
commit85c93ea7dca475a6ee3bf414befe94b2c42f1001
treef1b47f8eb9e8d7c19f6e61e40a2835a9e8f3a045
parent62571c29a8343839e85e741db6a489f30686697c
mfd: Improve diagnostics for WM8350 ID register probe

Check the return value of the device I/O functions when reading the
ID registers so we can provide a more useful diagnostic when we're
having trouble talking to the device.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/wm8350-core.c