OSDN Git Service

ASoC: sh: rz-ssi: Make the data structures available before registering the handlers
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Mon, 10 Jan 2022 09:47:08 +0000 (09:47 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jan 2022 13:31:29 +0000 (13:31 +0000)
commit0788785c78342d422f93b1c9831c2b2b7f137937
tree18ba45c3796f655124682682e20a1f6c57b4d415
parent6570f991582e32b7992601d0497c61962a2c5dcc
ASoC: sh: rz-ssi: Make the data structures available before registering the handlers

Initialize the spinlock and make the data structures available before
registering the interrupt handlers.

Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220110094711.8574-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rz-ssi.c