Re: USB sound card issues

2021-06-11 Thread Valdis Klētnieks
On Tue, 08 Jun 2021 16:20:07 +0530, Muni Sekhar said: > $ arecord --device hw:1,0 --channels 1 --format S16_LE --rate 32000_Hz x.wav > Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Mono > arecord: pcm_read:2032: read error: Input/output error Always check the obvious stuff

CMA: why DMA_ATTR_FORCE_CONTIGUOUS is not used in v4l2 or DRM cma helper

2021-06-11 Thread ayaka
Hello All I am looking for the CMA allocator in current kernel, when I check the videobuf2-dma-contig.c and drm_gem_cma_helper.c, they just call dma_alloc_wc()/dma_alloc_attrs() without any flag that request a contiguous pages. I could hardly find a driver use the flag