Badhri Jagan Sridharan
abbebf1a3e
ANDROID: usb: typec: tcpci: Migrate restricted vendor hook
Since the callbacks can potentially execute i2c transactions,
use restricted vendor hook instead of vendor hook.
BUG: scheduling while atomic: 6-0025/306/0x00000002
..
Call trace:
dump_backtrace+0x0/0x1d4
show_stack+0x1c/0x2c
dump_stack+0xd0/0x154
__schedule_bug+0x74/0xb0
__schedule+0x524/0x7bc
schedule+0xa0/0xe8
schedule_preempt_disabled+0x28/0x48
__mutex_lock+0x2e8/0x6c4
__mutex_lock_slowpath+0x18/0x28
mutex_lock+0x40/0x64
regmap_lock_mutex+0x14/0x24
regmap_raw_read+0xcc/0x264
__traceiter_android_vh_typec_tcpci_get_vbus+0x50/0x78
tcpci_get_vbus+0x100/0x128
OOT_bug:
Bug: 183149028
Bug: 168245874
Bug: 173252019
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: Ia61bd2b6a01b50e73e7a6d4e398146b819181e15
2021-03-21 13:24:36 -07:00
..
2021-02-09 11:52:21 +01:00
2021-01-13 10:29:42 +01:00
2021-03-21 13:24:36 -07:00
2021-02-09 11:52:14 +01:00
2020-04-22 19:23:19 +02:00
2020-02-12 10:51:21 -08:00
2021-02-09 11:51:47 +01:00
2020-10-02 15:28:18 +02:00
2020-11-16 09:58:47 +01:00
2020-10-09 15:14:43 +02:00
2020-10-28 13:18:56 +01:00
2020-10-09 15:14:43 +02:00
2021-03-08 19:46:25 +01:00
2021-03-18 06:48:37 +00:00