[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160627190949.GB5111@kroah.com>
Date: Mon, 27 Jun 2016 12:09:49 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Michal Suchanek <hramrach@...il.com>
Cc: Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org,
linux-spi@...r.kernel.org
Subject: Re: [PATCH v2 3/3] drivers core: allow id match override when
manually binding driver
On Mon, Jun 27, 2016 at 09:02:32PM +0200, Michal Suchanek wrote:
> The spi bus has no autodetection whatsoever. The 'detection' of the
> device that's suposed to be on the other side completely relies on user
> supplied information coming from devicetree on many platforms. It is
> completely reasonable then to allow the user to supply the information
> at runtime by doing echo 'somedevice' >
> /sys/bus/spi/drivers/somedriver/bind
> This fails if somedriver does not have in its id table compatible of
> somedevice so just skip this check for manual driver binding.
That's what the new_id file is for, right?
thanks,
greg k-h
Powered by blists - more mailing lists