summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-aspeed.c
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmerdabbelt@google.com>2020-08-24 17:21:22 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 13:18:14 +0200
commit66d987b80dc34236777318000ca94c3b963f8aca (patch)
tree60dbd2c0b08051733fc060f9bdecdd99f051839b /drivers/i2c/busses/i2c-aspeed.c
parent487e3a1bc9ab3558f761c9d604dc90662d6d32d9 (diff)
RISC-V: Take text_mutex in ftrace_init_nop()
[ Upstream commit 66d18dbda8469a944dfec6c49d26d5946efba218 ] Without this we get lockdep failures. They're spurious failures as SMP isn't up when ftrace_init_nop() is called. As far as I can tell the easiest fix is to just take the lock, which also seems like the safest fix. Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> Acked-by: Guo Ren <guoren@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-aspeed.c')
0 files changed, 0 insertions, 0 deletions