From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751803AbcL1Pzg (ORCPT ); Wed, 28 Dec 2016 10:55:36 -0500 Received: from muin.pair.com ([209.68.1.55]:55343 "EHLO muin.pair.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbcL1Pzf (ORCPT ); Wed, 28 Dec 2016 10:55:35 -0500 X-Greylist: delayed 355 seconds by postgrey-1.27 at vger.kernel.org; Wed, 28 Dec 2016 10:55:34 EST Subject: Re: [PATCH] ASoC : fsl_ssi : Correct the condition to check AC97 mode To: Andreas Schwab , "Harisangam, Sharvari (S.)" Cc: Nicolin Chen , Xiubo Li , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "alsa-devel@alsa-project.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" References: <20161228110636.GA14768@ubuntu> <87inq4f6pa.fsf@linux-m68k.org> From: Timur Tabi Message-ID: <9ebb798c-6040-9262-9625-ddcebd05a188@tabi.org> Date: Wed, 28 Dec 2016 09:48:42 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: <87inq4f6pa.fsf@linux-m68k.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andreas Schwab wrote: >> > + return !!(ssi_private->dai_fmt & SND_SOC_DAIFMT_AC97) == >> > + SND_SOC_DAIFMT_AC97; > This is never true. I think the right parenthesis should be at the end of the expression.