[alsa-devel] [PATCH V3 3/4] ASoC: SPEAr spdif_out: Add spdif out support
vipin.kumar at st.com
Sun Jul 1 08:32:31 CEST 2012
On 7/1/2012 12:05 AM, Mark Brown wrote:
> On Fri, Jun 29, 2012 at 01:05:13PM +0530, Vipin Kumar wrote:
>> On 6/28/2012 5:57 PM, Mark Brown wrote:
>>>> + .ops = (struct snd_soc_dai_ops *)&spdif_out_dai_ops,
>>> Why do you need this cast?
>> It was a const I think
> So you've just introduced a bug, then - you're using a const variable in
> a non-const context. Don't cast away the const, either arrange for the
> ops pointer in the dai to be const or remove the const.
sure, i will do that...got it :)
More information about the Alsa-devel