media: ccs: Wait until software reset is done
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Oct 2020 10:09:07 +0000 (12:09 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 16:50:10 +0000 (17:50 +0100)
commit51fc72e541b44d5ba52673b1e2b492ffc164b71c
treec188c4426816265c699382b573717686ae8cd035
parente1988e7ad0015e9d8252b515d5aa23a58428022c
media: ccs: Wait until software reset is done

Verify the software reset has been completed until proceeding.

The spec does not guarantee a delay but presumably 100 ms should be
enough.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs/ccs-core.c