Re: [PATCH] ASoC: fsl_sai: Set SAI Channel Mode to Output Mode

From: Mark Brown
Date: Mon Sep 02 2019 - 08:39:52 EST


On Sat, Aug 31, 2019 at 01:55:14AM +0300, Daniel Baluta wrote:

> Fix this by setting CHMOD to Output Mode so that pins will output zero
> when slots are masked or channels are disabled.

This patch seems to do this unconditionally. This is fine for
configurations where the SoC is the only thing driving the bus but will
mean that for TDM configurations where something else also drives some
of the slots we'll end up with both devices driving simultaneously. The
safest thing would be to set this only if TDM isn't configured.

Attachment: signature.asc
Description: PGP signature