[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140414203126.GB25182@sirena.org.uk>
Date: Mon, 14 Apr 2014 21:31:26 +0100
From: Mark Brown <broonie@...nel.org>
To: Nicolin Chen <Guangyu.Chen@...escale.com>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
alsa-devel@...a-project.org, timur@...i.org, Li.Xiubo@...escale.com
Subject: Re: [PATCH] ASoC: fsl_sai: Fix incorrect condition check in trigger()
On Fri, Apr 11, 2014 at 10:10:00PM +0800, Nicolin Chen wrote:
> + /* Check if the opposite FRDE is also disabled */
> + if (!(tx ? rcsr & FSL_SAI_CSR_FRDE : tcsr & FSL_SAI_CSR_FRDE)) {
I've applied this since it's a fix but this is *not* a triumph of
legibility, the ternery operator is often not helpful.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists