Re: [PATCH] serial: core: Fix serial_base_match() after fixing controller port name

From: Anders Roxell
Date: Thu Aug 03 2023 - 03:00:44 EST

On 2023-08-02 14:48, Tony Lindgren wrote:
> While fixing DEVNAME to be more usable, I broke serial_base_match() as
> the ctrl and port prefix for device seemed unnecessary.
> Let's fix the issue by checking against dev->type and drv->name.
> Fixes: 1ef2c2df1199 ("serial: core: Fix serial core controller port name to show controller id")
> Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>

This fixes boot on e850-96.

Tested-by: Anders Roxell <anders.roxell@xxxxxxxxxx>