diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2023-01-31 16:15:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-02 11:27:28 +0100 |
commit | f82060da749c611ed427523b6d1605d87338aac1 (patch) | |
tree | 427e9d3a880975e3dad0b926fea1da042ab8cab8 /drivers/power/reset/gpio-poweroff.c | |
parent | 30d09b3131f5b1b9d54ad9b7ee171a45e21362b3 (diff) | |
download | linux-f82060da749c611ed427523b6d1605d87338aac1.tar.gz linux-f82060da749c611ed427523b6d1605d87338aac1.tar.bz2 linux-f82060da749c611ed427523b6d1605d87338aac1.zip |
usb: typec: ucsi: Don't attempt to resume the ports before they exist
This will fix null pointer dereference that was caused by
the driver attempting to resume ports that were not yet
registered.
Fixes: e0dced9c7d47 ("usb: typec: ucsi: Resume in separate work")
Cc: <stable@vger.kernel.org>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216697
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20230131141518.78215-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power/reset/gpio-poweroff.c')
0 files changed, 0 insertions, 0 deletions