mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
78e719a5f3
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> |
||
---|---|---|
.. | ||
em28xx-audio.c | ||
em28xx-camera.c | ||
em28xx-cards.c | ||
em28xx-core.c | ||
em28xx-dvb.c | ||
em28xx-i2c.c | ||
em28xx-input.c | ||
em28xx-reg.h | ||
em28xx-v4l.h | ||
em28xx-vbi.c | ||
em28xx-video.c | ||
em28xx.h | ||
Kconfig | ||
Makefile |