aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJerry Ray <jerry.ray@microchip.com>2023-01-17 14:56:59 -0600
committerDavid S. Miller <davem@davemloft.net>2023-01-20 08:53:13 +0000
commit601f574a1b449446a98d65cc3871a8eb2cb18bcf (patch)
treed932d3af47d91408c8a9e45e8ebf1562435eafc7 /tools/perf/scripts/python
parentdsa: lan9303: move Turbo Mode bit init (diff)
downloadlinux-601f574a1b449446a98d65cc3871a8eb2cb18bcf.tar.gz
linux-601f574a1b449446a98d65cc3871a8eb2cb18bcf.zip
dsa: lan9303: Add exception logic for read failure
While it is highly unlikely a read will ever fail, This code fragment is now in a function that allows us to return an error code. A read failure here will cause the lan9303_probe to fail. Signed-off-by: Jerry Ray <jerry.ray@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions