summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-01-24 19:10:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-04 16:44:35 +0300
commit166ac2bba167d575e7146beaa66093bc7c072f43 (patch)
tree19a516dceb8cc77c7b7dd2e64c65b8d316076fb5 /tools/perf/scripts/python/exported-sql-viewer.py
parente8ed246ded863eb862806c5591afdcf70012ab5e (diff)
downloadlinux-166ac2bba167d575e7146beaa66093bc7c072f43.tar.xz
serial: port: Assign ->iotype correctly when ->iobase is set
Currently the ->iotype is always assigned to the UPIO_MEM when the respective property is not found. However, this will not support the cases when user wants to have UPIO_PORT to be set or preserved. Support this scenario by checking ->iobase value and default the ->iotype respectively. Fixes: 1117a6fdc7c1 ("serial: 8250_of: Switch to use uart_read_port_properties()") Fixes: e894b6005dce ("serial: port: Introduce a common helper to read properties") Cc: stable <stable@kernel.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250124161530.398361-2-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions