1 Jul
2012
1 Jul
'12
9:32 a.m.
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 :)