diff options
author | Frank Schaefer <fschaefer.oss@googlemail.com> | 2017-02-19 15:29:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-22 11:38:38 -0300 |
commit | 9e00695364fb74f3aa9912a6a686db8446dcd695 (patch) | |
tree | 3e7c30d01ccda5064ad56f22ebfd41afe1c615df /arch/arm/mach-davinci/board-da850-evm.c | |
parent | 3b8b2e1cea78652ecf7b976a68f87220a3f27b28 (diff) |
[media] em28xx: reduce stack usage in sensor probing functions
It's no longer necessary to keep the i2c_client in the device struct
unmodified until a sensor is found, so reduce stack usage in
em28xx_probe_sensor_micron() and em28xx_probe_sensor_omnivision() by using
a pointer to the client instead of a local copy.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-da850-evm.c')
0 files changed, 0 insertions, 0 deletions