Re: [PATCH v4] tty: samsung_tty: 32-bit access for TX/RX hold registers
From: Krzysztof Kozlowski
Date: Fri Apr 03 2020 - 08:08:40 EST
On Fri, Apr 03, 2020 at 01:57:15PM +0200, Greg KH wrote:
> > > If the property is not there, the type will be uninitialized and no
> > > warning will be spit out, are you sure you want to do that?
> >
> > The default value from initial ourport will be used, which is UPIO_MEM.
> > This way it is backward compatible.
>
> Where is iotype set to UPIO_MEM as a default?
Here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/serial/samsung_tty.c?h=v5.6#n1626
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/serial/samsung_tty.c?h=v5.6#n1989
Best regards,
Krzysztof