Hamish Martin f2d4a58346 HID: mcp2221: Set driver data before I2C adapter add
The process of adding an I2C adapter can invoke I2C accesses on that new
adapter (see i2c_detect()).

Ensure we have set the adapter's driver data to avoid null pointer
dereferences in the xfer functions during the adapter add.

This has been noted in the past and the same fix proposed but not
completed. See:
https://lore.kernel.org/lkml/ef597e73-ed71-168e-52af-0d19b03734ac@vigem.de/

Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-11-21 09:29:47 +01:00
2023-11-02 14:05:18 -10:00
2023-11-01 12:30:07 -10:00
2023-11-02 06:53:22 -10:00
2023-11-02 14:05:18 -10:00
2023-11-02 08:32:07 -10:00
2023-11-02 14:29:10 -10:00
2023-11-01 20:51:41 -10:00
2023-11-01 11:25:08 -10:00
2023-11-01 17:02:29 -10:00
2023-11-01 15:28:33 -10:00
2023-11-01 16:33:20 -10:00
2023-11-01 16:15:42 -10:00
2023-11-01 21:09:37 -10:00
2023-11-02 06:53:22 -10:00
2023-11-02 14:05:18 -10:00
2023-11-02 14:29:10 -10:00
2023-09-07 13:52:20 -07:00
2022-09-28 09:02:20 +02:00
2022-10-10 12:00:45 -07:00
2023-11-02 14:05:18 -10:00
2023-11-01 17:08:10 -10: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%