media: et8ek8: Decrease stack usage
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 16 Aug 2017 07:28:16 +0000 (03:28 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:33:46 +0000 (08:33 -0400)
commit070ed82e32020dd9cc1ab3b5790b6b7d3f788e30
tree2e0d6f5f92a04dd3347c16d0a0f719401039f419
parent392296208b952dfa486cfa44db72587efd960714
media: et8ek8: Decrease stack usage

The et8ek8 driver combines I²C register writes to a single array that it
passes to i2c_transfer(). The maximum number of writes is 48 at once,
decrease it to 8 and make more transfers if needed.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/et8ek8/et8ek8_driver.c