summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/cpuidle-riscv-sbi.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2023-08-03 09:10:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-03 09:48:56 +0200
commit7d695d83767cdb4288b101affef6d1d1bcf44d31 (patch)
tree9aa15a225fec6444f166cd2531a377e4fe48bb5b /drivers/cpuidle/cpuidle-riscv-sbi.c
parentserial: core: Fix serial core controller port name to show controller id (diff)
downloadlinux-7d695d83767cdb4288b101affef6d1d1bcf44d31.tar.xz
linux-7d695d83767cdb4288b101affef6d1d1bcf44d31.zip
serial: core: Fix serial_base_match() after fixing controller port name
While fixing DEVNAME to be more usable, I broke serial_base_match() as the ctrl and port prefix for device names seemed unnecessary. The prefixes are still needed by serial_base_match() to probe the serial base controller port, and serial tx is now broken. Let's fix the issue by checking against dev->type and drv->name instead of the prefixes that are no longer in the DEVNAME. Fixes: 1ef2c2df1199 ("serial: core: Fix serial core controller port name to show controller id") Reported-by: kernel test robot <oliver.sang@intel.com> Closes: https://lore.kernel.org/oe-lkp/202308021529.35b3ad6c-oliver.sang@intel.com Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230803071034.25571-1-tony@atomide.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cpuidle/cpuidle-riscv-sbi.c')
0 files changed, 0 insertions, 0 deletions