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 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...

Attachment: signature.asc
Description: PGP signature


[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