Re: [PATCH] i2c: scmi: Fix probe error on devices with an empty SMB0001 ACPI device node

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

 



On Wed, Nov 21, 2018 at 10:19:55AM +0100, Hans de Goede wrote:
> Some AMD based HP laptops have a SMB0001 ACPI device node which does not
> define any methods.
> 
> This leads to the following error in dmesg:
> 
> [    5.222731] cmi: probe of SMB0001:00 failed with error -5
> 
> This commit makes acpi_smbus_cmi_add() return -ENODEV instead in this case
> silencing the error. In case of a failure of the i2c_add_adapter() call
> this commit now propagates the error from that call instead of -EIO.
> 
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>

Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux