mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 12:49:08 +00:00
ALSA: lx_core: Switch to using BIT macro
Move to using the BIT macro for a few defines. It also allows to discard the french comment that was saying exactly what the BIT macro is now pointing out. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
7b3b302615
commit
c546ca95f5
@ -24,6 +24,7 @@
|
||||
|
||||
/* #define RMH_DEBUG 1 */
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/delay.h>
|
||||
@ -966,9 +967,9 @@ int lx_level_peaks(struct lx6464es *chip, int is_capture, int channels,
|
||||
|
||||
/* interrupt handling */
|
||||
#define PCX_IRQ_NONE 0
|
||||
#define IRQCS_ACTIVE_PCIDB 0x00002000L /* Bit nø 13 */
|
||||
#define IRQCS_ENABLE_PCIIRQ 0x00000100L /* Bit nø 08 */
|
||||
#define IRQCS_ENABLE_PCIDB 0x00000200L /* Bit nø 09 */
|
||||
#define IRQCS_ACTIVE_PCIDB BIT(13)
|
||||
#define IRQCS_ENABLE_PCIIRQ BIT(8)
|
||||
#define IRQCS_ENABLE_PCIDB BIT(9)
|
||||
|
||||
static u32 lx_interrupt_test_ack(struct lx6464es *chip)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user