diff options
| author | Miaoqian Lin <[email protected]> | 2021-12-22 08:33:48 +0000 |
|---|---|---|
| committer | Robert Foss <[email protected]> | 2022-01-04 15:30:11 +0100 |
| commit | f5f05ddc37e0445567e4a2369b73ecf9ee2e187d (patch) | |
| tree | 6de8b7ec1da909f6f6da7cf25eb800529e1f3dff /tools/perf/scripts/python | |
| parent | 7020449b8f5ac0f7444a584645edec02f7168f1a (diff) | |
drm/bridge: anx7625: Fix null vs IS_ERR() checking in anx7625_register_i2c_dummy_clients
Since i2c_new_client_device() function return error pointers.
The i2c_new_dummy_device() function does not return NULL, It returns error
pointers too. Using IS_ERR() to check the return value to fix this.
Fixes: 8bdfc5dae4e3("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP")
Signed-off-by: Miaoqian Lin <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Robert Foss <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions