mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
cec2b18832
gpiod_get_value() gives out a warning if access to the underlying gpiochip requires sleeping, which is common for I2C based chips: WARNING: CPU: 0 PID: 77 at drivers/gpio/gpiolib.c:2500 gpiod_get_value+0xd0/0x100 Modules linked in: CPU: 0 PID: 77 Comm: kworker/0:2 Not tainted 4.14.0-rc3-00589-gf32897915d48-dirty #90 Hardware name: Allwinner sun4i/sun5i Families Workqueue: events deferred_probe_work_func [<c010ec50>] (unwind_backtrace) from [<c010b784>] (show_stack+0x10/0x14) [<c010b784>] (show_stack) from [<c0797224>] (dump_stack+0x88/0x9c) [<c0797224>] (dump_stack) from [<c0125b08>] (__warn+0xe8/0x100) [<c0125b08>] (__warn) from [<c0125bd0>] (warn_slowpath_null+0x20/0x28) [<c0125bd0>] (warn_slowpath_null) from [<c037069c>] (gpiod_get_value+0xd0/0x100) [<c037069c>] (gpiod_get_value) from [<c03778d0>] (pwm_backlight_probe+0x238/0x508) [<c03778d0>] (pwm_backlight_probe) from [<c0411a2c>] (platform_drv_probe+0x50/0xac) [<c0411a2c>] (platform_drv_probe) from [<c0410224>] (driver_probe_device+0x238/0x2e8) [<c0410224>] (driver_probe_device) from [<c040e820>] (bus_for_each_drv+0x44/0x94) [<c040e820>] (bus_for_each_drv) from [<c040ff0c>] (__device_attach+0xb0/0x114) [<c040ff0c>] (__device_attach) from [<c040f4f8>] (bus_probe_device+0x84/0x8c) [<c040f4f8>] (bus_probe_device) from [<c040f944>] (deferred_probe_work_func+0x50/0x14c) [<c040f944>] (deferred_probe_work_func) from [<c013be84>] (process_one_work+0x1ec/0x414) [<c013be84>] (process_one_work) from [<c013ce5c>] (worker_thread+0x2b0/0x5a0) [<c013ce5c>] (worker_thread) from [<c0141908>] (kthread+0x14c/0x154) [<c0141908>] (kthread) from [<c0107ab0>] (ret_from_fork+0x14/0x24) This was missed in commit |
||
---|---|---|
.. | ||
88pm860x_bl.c | ||
aat2870_bl.c | ||
adp5520_bl.c | ||
adp8860_bl.c | ||
adp8870_bl.c | ||
ams369fg06.c | ||
apple_bl.c | ||
arcxcnn_bl.c | ||
as3711_bl.c | ||
backlight.c | ||
bd6107.c | ||
corgi_lcd.c | ||
cr_bllcd.c | ||
da903x_bl.c | ||
da9052_bl.c | ||
ep93xx_bl.c | ||
generic_bl.c | ||
gpio_backlight.c | ||
hp680_bl.c | ||
hx8357.c | ||
ili922x.c | ||
ili9320.c | ||
ili9320.h | ||
ipaq_micro_bl.c | ||
jornada720_bl.c | ||
jornada720_lcd.c | ||
kb3886_bl.c | ||
Kconfig | ||
l4f00242t03.c | ||
lcd.c | ||
lm3533_bl.c | ||
lm3630a_bl.c | ||
lm3639_bl.c | ||
lms283gf05.c | ||
lms501kf03.c | ||
locomolcd.c | ||
lp855x_bl.c | ||
lp8788_bl.c | ||
ltv350qv.c | ||
ltv350qv.h | ||
lv5207lp.c | ||
Makefile | ||
max8925_bl.c | ||
omap1_bl.c | ||
ot200_bl.c | ||
otm3225a.c | ||
pandora_bl.c | ||
pcf50633-backlight.c | ||
platform_lcd.c | ||
pm8941-wled.c | ||
pwm_bl.c | ||
rave-sp-backlight.c | ||
sky81452-backlight.c | ||
tdo24m.c | ||
tosa_bl.c | ||
tosa_lcd.c | ||
tps65217_bl.c | ||
vgg2432a4.c | ||
wm831x_bl.c |