diff options
author | Stephen Boyd <[email protected]> | 2016-06-23 19:34:30 +0900 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2016-06-23 19:35:10 +0900 |
commit | a05f44c89ee1151b0da3ddd43d9e57d8f15b2f20 (patch) | |
tree | da73c58dfbbd8e873c86a939f506fd93640c014c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 70a7da4587127dc3f308ef8a94992b2eb888f7a4 (diff) |
extcon: Check for incorrect connection type in notifier register
If we call extcon_register_notifier() with the wrong cable type,
it blows up with an oops instead of returning an error code.
Let's be nice and fail gracefully given that the consumer might
not know if the cable is supported by the extcon provider.
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions