#ifndef __SND_SEQ_LOCK_H #define __SND_SEQ_LOCK_H #include #if defined(CONFIG_SMP) || defined(CONFIG_SND_DEBUG) typedef atomic_t snd_use_lock_t; /* initialize lock */ #define snd_use_lock_init(lockp) atomic_set(lockp, 0) /* increment lock */ #define snd_use_lock_use(lockp) atomic_inc(lockp) /* release lock */ #define snd_use_lock_free(lockp) atomic_dec(lockp) /* wait until all locks are released */ void snd_use_lock_sync_helper(snd_use_lock_t *lock, const char *file, int line); #define snd_use_lock_sync(lockp) snd_use_lock_sync_helper(lockp, __BASE_FILE__, __LINE__) #else /* SMP || CONFIG_SND_DEBUG */ typedef spinlock_t snd_use_lock_t; /* dummy */ #define snd_use_lock_init(lockp) /**/ #define snd_use_lock_use(lockp) /**/ #define snd_use_lock_free(lockp) /**/ #define snd_use_lock_sync(lockp) /**/ #endif /* SMP || CONFIG_SND_DEBUG */ #endif /* __SND_SEQ_LOCK_H */ '>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/pci/oxygen/oxygen_mixer.c
diff options
context:
space:
mode:
authorMarcel J.E. Mol <marcel@mesa.nl>2017-01-30 19:26:40 +0100
committerJohan Hovold <johan@kernel.org>2017-01-31 17:27:04 +0100
commitd07830db1bdb254e4b50d366010b219286b8c937 (patch)
tree354d7fca237fa3d7e7e63c2196eaa4e1086838ea /sound/pci/oxygen/oxygen_mixer.c
parent5d03a2fd2292e71936c4235885c35ccc3c94695b (diff)
USB: serial: pl2303: add ATEN device ID
Seems that ATEN serial-to-usb devices using pl2303 exist with different device ids. This patch adds a missing device ID so it is recognised by the driver. Signed-off-by: Marcel J.E. Mol <marcel@mesa.nl> Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'sound/pci/oxygen/oxygen_mixer.c')