diff options
author | MD Danish Anwar <danishanwar@ti.com> | 2024-09-06 12:36:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-10 03:43:06 +0300 |
commit | 9e70eb4a9a8e61105932def55f4667d9a0055381 (patch) | |
tree | 831be95cecc69dc6bf6173bd692c64dd5c8c973b /scripts/lib/kdoc/kdoc_files.py | |
parent | 5aa3b55bb312c389bc7bf9d8c220d7cc5cab04a3 (diff) | |
download | linux-9e70eb4a9a8e61105932def55f4667d9a0055381.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions