[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111025071417.GE2919@opensource.wolfsonmicro.com>
Date: Tue, 25 Oct 2011 09:14:18 +0200
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Kyle Manna <kyle.manna@...l7.com>
Cc: linux-kernel@...r.kernel.org, Samuel Ortiz <sameo@...ux.intel.com>,
Jorge Eduardo Candelaria <jedu@...mlogic.co.uk>,
Liam Girdwood <lrg@...com>
Subject: Re: [PATCH v2 1/6] mfd: TPS65910: Handle non-existent devices
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists