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

Tzung-Bi Shih tzungbi at google.com
Thu Nov 25 08:16:33 UTC 2021


On Wed, Nov 24, 2021 at 05:52:19PM +0300, Dan Carpenter wrote:
> 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: 566fef1226c1 ("drm/bridge: anx7625: add HDMI audio function")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Reviewed-by: Tzung-Bi Shih <tzungbi at google.com>


More information about the dri-devel mailing list