Skip to content
Unverified Commit 83ddd806 authored by Dan Carpenter's avatar Dan Carpenter Committed by Robert Foss
Browse files

drm/bridge: anx7625: fix an error code in anx7625_register_audio()



This code accidentally returns IS_ERR(), which is 1, instead of
propagating the negative error code.  The caller doesn't check for
errors so it doesn't affect run time at all.

Fixes: 566fef12 ("drm/bridge: anx7625: add HDMI audio function")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarTzung-Bi Shih <tzungbi@google.com>
Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211124145219.GD13656@kili
parent 0bae5687
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment