Re: [PATCH] dmaengine: imx-sdma: advertise all supported slave bus widths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 13, 2017 at 04:50:01PM +0200, Lucas Stach wrote:
> Am Freitag, den 13.10.2017, 15:39 +0100 schrieb Mark Brown:

> > ...I'm talking about the constraints supported on the DMA side.  I would
> > not expect the DMA side to be accepting things it said it didn't support.

> AFAIR the caps for the supported slave bus width were introduced later
> than other caps and not all drivers did implement them properly, so
> validation at the core level at this time would probably have broken a
> lot of existing users.

> That said the dmaengine core warns since kernel 4.0 if a driver doesn't
> set those caps, so it's probably fine if we cook up a patch to do the
> validation now.

That can should be able to be handled cleanly by enforcing any caps that
are advertised but if the driver doesn't declare anything at all then
just accepting anything and leaving it up to the driver to cope.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux