Skip to content

Commit

Permalink
[ALSA] sound: SPIN_LOCK_UNLOCKED cleanup
Browse files Browse the repository at this point in the history
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Milind Arun Choudhary authored and Jaroslav Kysela committed May 11, 2007
1 parent 57b14f2 commit c9758b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/at91/at91-ssc.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,20 +152,20 @@ static struct at91_ssc_info {
} ssc_info[NUM_SSC_DEVICES] = {
{
.name = "ssc0",
.lock = SPIN_LOCK_UNLOCKED,
.lock = __SPIN_LOCK_UNLOCKED(ssc_info[0].lock),
.dir_mask = 0,
.initialized = 0,
},
#if NUM_SSC_DEVICES == 3
{
.name = "ssc1",
.lock = SPIN_LOCK_UNLOCKED,
.lock = __SPIN_LOCK_UNLOCKED(ssc_info[1].lock),
.dir_mask = 0,
.initialized = 0,
},
{
.name = "ssc2",
.lock = SPIN_LOCK_UNLOCKED,
.lock = __SPIN_LOCK_UNLOCKED(ssc_info[2].lock),
.dir_mask = 0,
.initialized = 0,
},
Expand Down

0 comments on commit c9758b2

Please sign in to comment.