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 |
||
|---|---|---|
| .. | ||
| events | ||
| hooks | ||
| bpf_probe.h | ||
| define_trace.h | ||
| perf.h | ||
| syscall.h | ||
| trace_events.h | ||