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)
commit66933f4b90ddd8abaa2e123e09c51ecc25331b40
treebc47e198103499c73fe73de8adf331e58b47ca05
parent99c2caa64580f999f4552eaeb3ed6f6c5f172d93
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