Hi Mark.
These patches adds [1] Synchronous SRC, [2] under/over run error salvage support to Renesas sound driver.
1) - 16) : prepare cleanup/tidyup for 17) - 19) 17) : Synchronous SRC 18)- 19) : salvage support for under/over run error 20) : cleanup for 18) - 19)
Current Renesas sound can use Asynchronous/Synchronous sampling rate convert. Asynchronous sampling rate convert is already supported on upstream. ("feature" is supported, "DT" bindings is not yet supported) 17) adds Synchronous sampling rate convert.
Renesas sound has HW bug (?) which switches L/R channel if under/over run error had occurred. 18) - 19) adds salvage supported for it.
20) is cleanup patch which is based on 18)-19) patch
Kuninori Morimoto (20): 1. ASoC: rsnd: add .fallback callback 2. ASoC: rsnd: add callback status check method 3. ASoC: rsnd: rsnd_src_ssiu_stop() stops SSIU compulsorily 4. ASoC: rsnd: tidyup PIO/DMA mode settings method 5. ASoC: rsnd: tidyup SSI interrupt enable/disable method 6. ASoC: rsnd: care SSIWSR register in rsnd_ssi_hw_start() 7. ASoC: rsnd: clear status register when HW start 8. ASoC: rsnd: synchronize SSI start/stop sequence between PIO/DMA mode 9. ASoC: rsnd: show master clock rate when ADG probe 10. ASoC: rsnd: move snd_kcontrol_new fucntions to core.c 11. ASoC: rsnd: tidyup rsnd_io_to_runtime() macro 12. ASoC: rsnd: use rsnd_src_convert_rate() once on rsnd_src_set_convert_rate_gen2() 13. ASoC: rsnd: initialize SRC on rsnd_src_init() 14. ASoC: rsnd: set SRC_ROUTE_MODE0 on each rsnd_src_set_convert_rate() 15. ASoC: rsnd: share SSI starting method between PIO/DMA mode 16. ASoC: rsnd: remove un-necessary parameter from rsnd_src_start/stop() 17. ASoC: rsnd: add Synchronous SRC mode 18. ASoC: rsnd: add salvage support for under/over flow error on SSI 19. ASoC: rsnd: add salvage support for under/over flow error on SRC 20. ASoC: rsnd: rename SSI function name of PIO
include/sound/rcar_snd.h | 9 +- sound/soc/sh/rcar/adg.c | 2 +- sound/soc/sh/rcar/core.c | 166 +++++++++++++++++++- sound/soc/sh/rcar/dvc.c | 177 ++-------------------- sound/soc/sh/rcar/gen.c | 15 ++ sound/soc/sh/rcar/rsnd.h | 94 +++++++++++- sound/soc/sh/rcar/src.c | 378 +++++++++++++++++++++++++++++++++++++++------- sound/soc/sh/rcar/ssi.c | 205 +++++++++++++++---------- 8 files changed, 736 insertions(+), 310 deletions(-)