Mario Limonciello e51d8d3ea3 HID: amd_sfh: Don't show client init failed as error when discovery fails
When sensor discovery fails, this means that the system doesn't have
any sensors connected and a user should only be notified at most one time.
A message is already displayed at WARN level of "failed to discover,
sensors not enabled".  It's pointless to show that the client init failed
at ERR level for the same condition.

Check the return code and don't display this message in those conditions.

Fixes: b5d7f43e97da ("HID: amd_sfh: Add support for sensor discovery")
Reported-by: David Chang <David.Chang@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2022-05-27 09:07:27 +02:00
2022-05-24 14:56:38 -07:00
2022-05-23 14:04:14 -07:00
2022-05-24 15:13:30 -07:00
2022-05-24 13:50:39 -07:00
2022-05-24 15:21:15 -07:00
2022-05-24 12:37:24 -07:00
2022-05-24 14:23:10 -07:00
2022-05-24 12:27:09 -07:00
2022-05-24 13:09:13 -07:00
2022-05-24 13:16:50 -07:00
2022-05-24 13:50:39 -07:00
2022-05-23 20:49:45 -07:00
2022-05-24 13:16:50 -07:00
2022-03-31 11:59:03 -07:00
2022-05-24 11:11:13 -07:00
2022-05-24 15:21:15 -07:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 5.7 GiB
Languages
C 97.6%
Assembly 1%
Shell 0.5%
Python 0.3%
Makefile 0.3%