summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2014-08-15 15:16:58 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 17:29:06 -0300
commit78e719a5f30b7017b575c08220f4480e3140c6f1 (patch)
tree363b5f67d31507e2e17948d0a04ef9c533a911f7 /drivers/media/dvb-frontends
parent5611588b86492eded428cad0f698c39178f88d23 (diff)
downloadlinux-78e719a5f30b7017b575c08220f4480e3140c6f1.tar.gz
[media] em28xx-input: i2c IR decoders: improve i2c_client handling
Instead of using a temporary stack allocated i2c_client in em28xx_i2c_ir_handle_key(), allocate/free the i2c_client at module init/uninit and hook it into struct em28xx_IR (if the device has an i2c IR decoder). This reduces the frame size of function em28xx_i2c_ir_handle_key() and speeds it up a bit. Also make sure that all fields of struct i2c_client are initialized properly. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
0 files changed, 0 insertions, 0 deletions