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

2021-11-25 Thread Robert Foss
On Thu, 25 Nov 2021 at 09:16, Tzung-Bi Shih wrote: > > 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

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

2021-11-24 Thread Dan Carpenter
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 --- drivers/gpu/drm/br