]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: test the correct variable in probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 20 May 2021 16:02:49 +0000 (18:02 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 12:05:50 +0000 (14:05 +0200)
commit023100f2b6a16a9deea821395e36c5ada21c74fb
treebc47e198103499c73fe73de8adf331e58b47ca05
parentf5acf918081175db6db063cd7579bb065b8da104
media: hantro: test the correct variable in probe()

This should be testing "vpu->clocks[0].clk" instead of "vpu->clocks".

Fixes: eb4cacdfb998 ("media: hantro: add fallback handling for single irq/clk")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_drv.c