[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hhbx50wwl.wl%tiwai@suse.de>
Date: Wed, 22 Jul 2009 13:39:22 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Janusz Krzysztofik <jkrzyszt@....icnet.pl>,
alsa-devel@...a-project.org, Jonathan McDowell <noodles@...th.li>,
Tony Lindgren <tony@...mide.com>,
Peter Ujfalusi <peter.ujfalusi@...ia.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
e3-hacking@...th.li, Arun KS <arunks@...tralsolutions.com>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: [alsa-devel] [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine
At Wed, 22 Jul 2009 12:03:28 +0100,
Mark Brown wrote:
>
> > + /* Setup pins after corresponding bits if changed */
> > + if ((bool)snd_soc_dapm_get_pin_status(codec, "Speaker") !=
> > + (bool)(function & (1 << AMS_DELTA_SPEAKER))) {
>
> Don't like these casts... why are they needed?
Because the right side is the bit operation?
The cast doesn't look nice, though...
Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists