30 Jun
2012
30 Jun
'12
6:35 p.m.
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.