mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
Merge remote-tracking branch 'asoc/fix/bfin' into asoc-linus
This commit is contained in:
commit
57754df746
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ static int bfin_i2s_hw_params(struct snd_pcm_substream *substream,
|
||||||
case SNDRV_PCM_FORMAT_S8:
|
case SNDRV_PCM_FORMAT_S8:
|
||||||
param.spctl |= 0x70;
|
param.spctl |= 0x70;
|
||||||
sport->wdsize = 1;
|
sport->wdsize = 1;
|
||||||
|
break;
|
||||||
case SNDRV_PCM_FORMAT_S16_LE:
|
case SNDRV_PCM_FORMAT_S16_LE:
|
||||||
param.spctl |= 0xf0;
|
param.spctl |= 0xf0;
|
||||||
sport->wdsize = 2;
|
sport->wdsize = 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue