commit | f82060da749c611ed427523b6d1605d87338aac1 | [log] [tgz] |
---|---|---|
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | Tue Jan 31 16:15:18 2023 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 02 11:27:28 2023 +0100 |
tree | 427e9d3a880975e3dad0b926fea1da042ab8cab8 | |
parent | 30d09b3131f5b1b9d54ad9b7ee171a45e21362b3 [diff] |
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>