summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJackyChou <jackychou@asix.com.tw>2018-11-30 09:31:21 +0300
committerJohan Hovold <johan@kernel.org>2018-12-05 08:58:30 +0300
commite8603076f5404cc103869a62f319bc8a4797cc50 (patch)
treef0dfce83aba1df7d2959a9a729cfeda70c78a0e8 /tools/perf/scripts/python/export-to-postgresql.py
parent6abd837104a3a8e1cda64fc4d7675f6c3ece9d8b (diff)
downloadlinux-e8603076f5404cc103869a62f319bc8a4797cc50.tar.xz
USB: serial: mos7840: clean up register handling
In the read/write function, set port 2 independently in the 2-port case. When setting the offset of port registers, the offset between port 1 and other ports is different, so port 1 is set independently. Then in the rest of ports, the port 2 between 2-ports case and 4-ports case is different, so port 2 in 2-ports case is set independently. Specifically, port 2 in the 2-port case maps to the registers used by port 3 in the 4-port case. Signed-off-by: JackyChou <jackychou@asix.com.tw> [ johan: simplify register-offset handling at port probe, add a comment and amend commit message ] Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions