diff options
| author | Jeff LaBundy <[email protected]> | 2022-10-22 19:56:38 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2022-10-24 05:09:49 -0700 |
| commit | 404f3b48e65f058d94429e4a1ec16a1f82ff3b2f (patch) | |
| tree | de34ad8a8627649f855ae4a5b6ffaf6dcedd9388 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ccad486525c49df2fe2e7090990522547dfd2785 (diff) | |
Input: iqs7222 - report malformed properties
Nonzero return values of several calls to fwnode_property_read_u32()
are silently ignored, leaving no way to know the properties were not
applied in the event of an error.
Solve this problem by evaluating fwnode_property_read_u32()'s return
value, and reporting an error for any nonzero return value not equal
to -EINVAL which indicates the property was absent altogether.
Fixes: e505edaedcb9 ("Input: add support for Azoteq IQS7222A/B/C")
Signed-off-by: Jeff LaBundy <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Link: https://lore.kernel.org/r/Y1SRRrpQXvkETjfm@nixie71
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions