Fabrice Gasnier acde4ed2f1 usb: typec: ucsi: improve the get current cam error message
The "Get Current Connector Alternate Mode" command is optional. The PPM
will set the "Not Supported Indicator" flag in the command status, if it
isn't supported (-EOPNOTSUPP error is reported by ucsi_exec_command()).

As this command is optional, this case shouldn't be treated as an error:
- Improve the error message to display the error code.
- Turn the not supported case into a dev_dbg instead of a dev_err.

Note: This error message is no longer seen upstream, after:
commit b9aa02ca39 ("usb: typec: ucsi: Add polling mechanism for partner
tasks like alt mode checking")

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Change-Id: Id7fcb5477775b90508790064d0572d310e5db5e8
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/265182
Reviewed-by: Amelie DELAUNAY <amelie.delaunay@foss.st.com>
2022-10-12 10:46:00 +02: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 4.1 GiB
Languages
C 97.7%
Assembly 1.2%
Shell 0.4%
Makefile 0.3%
Python 0.2%
Other 0.1%