Advertisement
Guest User

Untitled

a guest
May 20th, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. patch 1:
  2. switch (params_physical_width(params)) {
  3. case 16:
  4. width = DMA_SLAVE_BUSWIDTH_2_BYTES;
  5. break;
  6. + case 32:
  7. + width = DMA_SLAVE_BUSWIDTH_4_BYTES;
  8. + break;
  9. default:
  10. return -EINVAL;
  11. }
  12.  
  13. patch 2:
  14. static u8 sun4i_dai_params_to_wss(struct snd_pcm_hw_params *params)
  15. {
  16. int ret = -EINVAL;
  17. - switch (params_width(params)) {
  18. + switch (params_physical_width(params)) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement