media: ccs: Don't change the I²C address just for software reset
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Oct 2020 08:56:48 +0000 (10:56 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 16:33:05 +0000 (17:33 +0100)
commit105676ce5940517d2a8a4be32f54c9ff8a021ca5
treec6adb02225c0da9e7f8feb93549b543f2c2ef08a
parentd27be0ad943b22d491d1f00e2edbb93a87d58376
media: ccs: Don't change the I²C address just for software reset

The sensor's address was changed before resetting and changing the
address again. Don't do it before reset as it's useless.

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