ALSA: asihpi - Minor define updates
HPI version 4.05.32 Tweak HPI error code for backward compatibility. Add BUILD to build-related defines. Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committad av
Takashi Iwai

förälder
bd33c1cad2
incheckning
a287ca2ade
@@ -27,9 +27,7 @@ HPI Operating System Specific macros for Linux Kernel driver
|
||||
#define HPI_OS_LINUX_KERNEL
|
||||
|
||||
#define HPI_OS_DEFINED
|
||||
#define HPI_KERNEL_MODE
|
||||
|
||||
#define HPI_REASSIGN_DUPLICATE_ADAPTER_IDX
|
||||
#define HPI_BUILD_KERNEL_MODE
|
||||
|
||||
#include <linux/io.h>
|
||||
#include <asm/system.h>
|
||||
@@ -142,7 +140,7 @@ static inline void cond_unlock(struct hpios_spinlock *l)
|
||||
#define hpios_dsplock_unlock(obj) cond_unlock(&(obj)->dsp_lock)
|
||||
|
||||
#ifdef CONFIG_SND_DEBUG
|
||||
#define HPI_DEBUG
|
||||
#define HPI_BUILD_DEBUG
|
||||
#endif
|
||||
|
||||
#define HPI_ALIST_LOCKING
|
||||
|
Referens i nytt ärende
Block a user