android_kernel_xiaomi_sm8350/arch/cris/arch-v10/drivers
Jesper Nilsson 60362158e2 CRIS: gpio: don't call copy_to_user()/copy_from_user() while holding spinlocks
copy_to_user()/copy_from_user() must not be used with spinlocks held.
Move locks inside each case so we have better control of when the locks
are held.

Also, since we use spinlocks, we don't need to hold the BKL, so remove it.

Reported-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2010-08-04 12:59:14 +02:00
..
axisflashmap.c
ds1302.c cris: push down BKL into some device drivers 2010-04-29 16:36:40 +02:00
eeprom.c cris: autoconvert trivial BKL users to private mutex 2010-08-04 12:59:06 +02:00
gpio.c CRIS: gpio: don't call copy_to_user()/copy_from_user() while holding spinlocks 2010-08-04 12:59:14 +02:00
i2c.c cris: autoconvert trivial BKL users to private mutex 2010-08-04 12:59:06 +02:00
i2c.h
Kconfig
Makefile
pcf8563.c cris: push down BKL into some device drivers 2010-04-29 16:36:40 +02:00
sync_serial.c cris: Pushdown the bkl from ioctl 2010-08-04 12:58:57 +02:00