Files
openloongarch-linux-5.10/sound/soc/loongson/ls-i2s.h
T
maoxiaochuan ee22f32a72 update to 6fa43e4291
2K300:drivers/w1: w1.c: Disable one-wire print
2K300:drivers/staging: rtl8188fu: Remove "request firmware rtlwifi/rtl8188fufw.bin" debug info
2K300:sound/soc/loongson: Fix 24bit sound file cannot play
Many 24bit sound files are S24_3LE formate,
2k300:DTS:update dtb to fix pi hat funcation
2024-10-21 14:45:24 +08:00

16 lines
304 B
C

#ifndef __LS_I2S_H__
#define __LS_I2S_H__
#define PSC_I2S_RATES SNDRV_PCM_RATE_8000_96000
#define PSC_I2S_FORMATS ( SNDRV_PCM_FMTBIT_S8 | \
SNDRV_PCM_FMTBIT_S16_LE | \
SNDRV_PCM_FMTBIT_S20_3LE | \
SNDRV_PCM_FMTBIT_S24_3LE | \
SNDRV_PCM_FMTBIT_S32_LE)
bool ls_i2s_is_slave_mode(void);
#endif