Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70edc800 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Takashi Iwai
Browse files

sound: Replace old style lock initializer



SPIN_LOCK_UNLOCKED is deprecated. Use __SPIN_LOCK_UNLOCKED instead.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f702cf46
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -219,7 +219,9 @@ static int shared_resources_initialised;
     *  Mid level stuff
     */

struct sound_settings dmasound = { .lock = SPIN_LOCK_UNLOCKED };
struct sound_settings dmasound = {
	.lock = __SPIN_LOCK_UNLOCKED(dmasound.lock)
};

static inline void sound_silence(void)
{