mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource()
commit843fabdd76upstream. devm_ioremap_resource() can return an error, add missed check for it. Fixes:43d596e322("usb: typec: intel_pmc_mux: Check the port status before connect") Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210607205007.71458-2-andy.shevchenko@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6900ef1b10
commit
0b3bb7950e
1 changed files with 5 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue