Re: [PATCH v2 1/6] mfd: TPS65910: Handle non-existent devices

From: Kyle Manna
Date: Tue Oct 25 2011 - 11:10:11 EST


On 10/25/2011 02:14 AM, Mark Brown wrote:
On Mon, Oct 24, 2011 at 12:05:59PM -0500, Kyle Manna wrote:
Attempt to read the first register of the device, if there is no
device return -ENODEV
Can you check for a known value in any of the registers?
Unfortunately on this chip there aren't any identification or constant test registers. The only register close is the JTAGVERNUM_REG and that's will change across silicon revisions.

- Kyle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/