Tsuchiya Yuto 6aaff2d7c9 media: atomisp: fix "variable dereferenced before check 'asd'"
[ Upstream commit ac56760a8bbb4e654b2fd54e5de79dd5d72f937d ]

There are two occurrences where the variable 'asd' is dereferenced
before check. Fix this issue by using the variable after the check.

Link: https://lore.kernel.org/linux-media/20211122074122.GA6581@kili/

Link: https://lore.kernel.org/linux-media/20211201141904.47231-1-kitakar@gmail.com
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tsuchiya Yuto <kitakar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:04:36 +01:00
..
2021-12-01 09:04:41 +01:00
2021-07-27 12:17:21 +02:00
2021-09-01 09:51:16 -07:00
2021-07-27 20:11:45 +01:00