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 IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux