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

Robert Foss robert.foss at linaro.org
Thu Nov 25 10:08:16 UTC 2021


On Thu, 25 Nov 2021 at 09:16, Tzung-Bi Shih <tzungbi at google.com> 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 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>

Applied to drm-misc-next.


More information about the dri-devel mailing list