mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
bf9fc58590
PD#SWPL-168067 Problem: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:285. [<c030dd24>] show_stack+0x28/0x2c [<c103e7a8>] dump_stack_lvl+0x48/0x54 [<c03705cc>] ___might_sleep+0x164/0x188 [<c104283c>] mutex_lock+0x28/0x114 [<f171f9d0>] earctx_init+0x30/0x158 [amlogic_snd_soc] [<bf5ecf70>] hdmirx_timer_handler+0x4c/0xd0 [aml_media] [<c03e29d8>] call_timer_fn+0x3c/0x228 [<c03e285c>] __run_timers+0x1f4/0x334 [<c03e19a0>] run_timer_softirq+0x24/0x38 [<c0301488>] __do_softirq+0x118/0x4a4 [<c0339f54>] __irq_exit_rcu+0x94/0x10c [<c0339fe0>] irq_exit+0x14/0x1c [<c03af080>] handle_domain_irq+0x7c/0xb4 [<c0910c70>] gic_handle_irq+0x68/0xc4 Solution: schedule a task for access the register in earctx init function. Verify: T5W Change-Id: I6858ac36957637312aaa39a3aa8a18572064daf6 Signed-off-by: jian zhou <jian.zhou@amlogic.com>