mailbox: tegra-hsp: Set lockdep class dynamically
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 10 Feb 2021 13:49:45 +0000 (15:49 +0200)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 15 Feb 2021 05:28:40 +0000 (23:28 -0600)
commitd1e6bc0ca01c0b0b1a2d543223024cf2c8f52fb7
tree82147341734e01aec8033dd6539d5eb8e5b684ff
parent4450f128c51160bfded6b483eba37d0628d7adb2
mailbox: tegra-hsp: Set lockdep class dynamically

On Tegra194, due to both BPMP and TCU using mailboxes, we get a
lockdep spew at boot. Both are using different instances of HSP,
so this is harmless. As such give each HSP instance a different
lockdep class.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/tegra-hsp.c