]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ingenic: Remove bogus register write
authorPaul Cercueil <paul@crapouillou.net>
Sat, 30 Oct 2021 10:00:32 +0000 (11:00 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Sat, 30 Oct 2021 20:02:36 +0000 (21:02 +0100)
commit2be023033184be4279c17f656d9fb2167da5cd63
tree9b558566c03fa964d54b13c6069db35c0aa316cc
parent88c256333e4c1943e58347317c781d37727c74ea
drm/ingenic: Remove bogus register write

Commit 18c184eaa154 ("drm/ingenic: Simplify code by using hwdescs
array") caused the dma_hwdesc_phys_f{0,1} variables to be used while
uninitialized in a mmio register write, which most certainly broke the
ingenic-drm driver.

However, the very same patchset also submitted commit c7202a31c976
("drm/ingenic: Upload palette before frame"), which restored a correct
behaviour by doing the register writes in a different place in the code.

What's left of this, is just to remove the bogus register writes in the
probe function.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211030100032.42066-1-paul@crapouillou.net
Acked-by: Sam Ravnborg <sam@ravnborg.org>
drivers/gpu/drm/ingenic/ingenic-drm-drv.c