Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- patch 1:
- switch (params_physical_width(params)) {
- case 16:
- width = DMA_SLAVE_BUSWIDTH_2_BYTES;
- break;
- + case 32:
- + width = DMA_SLAVE_BUSWIDTH_4_BYTES;
- + break;
- default:
- return -EINVAL;
- }
- patch 2:
- static u8 sun4i_dai_params_to_wss(struct snd_pcm_hw_params *params)
- {
- int ret = -EINVAL;
- - switch (params_width(params)) {
- + switch (params_physical_width(params)) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement