Re: [PATCH] spi: spidev: Add ACPI probing support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 04, 2016 at 02:56:00PM +0200, Mark Brown wrote:
> On Mon, Jul 04, 2016 at 01:38:03PM +0300, Mika Westerberg wrote:
> 
> > +	/*
> > +	 * The ACPI SPT000* devices are only meant for development and
> > +	 * testing. Systems used in production should have a proper ACPI
> > +	 * description of the connected peripheral and they should also use
> > +	 * a proper driver instead of poking directly to the SPI bus.
> > +	 */
> > +	if (has_acpi_companion(&spi->dev))
> > +		dev_warn(&spi->dev, "do not use this driver in production systems!\n");
> > +
> 
> This is fine for now since all the ACPI devices are dummy ones but as
> soon as someone comes up with an actual ACPI ID for something that
> should be managed via spidev it'll need changing...

Sure. That's why the comment above also mentions SPT000* there.
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux