diff options
author | MD Danish Anwar <danishanwar@ti.com> | 2024-09-06 15:06:49 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-09 17:43:06 -0700 |
commit | 9e70eb4a9a8e61105932def55f4667d9a0055381 (patch) | |
tree | 831be95cecc69dc6bf6173bd692c64dd5c8c973b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5aa3b55bb312c389bc7bf9d8c220d7cc5cab04a3 (diff) |
net: ti: icssg-prueth: Make pa_stats optional
pa_stats is optional in dt bindings, make it optional in driver as well.
Currently if pa_stats syscon regmap is not found driver returns -ENODEV.
Fix this by not returning an error in case pa_stats is not found and
continue generating ethtool stats without pa_stats.
Fixes: 550ee90ac61c ("net: ti: icssg-prueth: Add support for PA Stats")
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20240906093649.870883-1-danishanwar@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions