9 Jan
2014
9 Jan
'14
6:37 p.m.
On Thu, Jan 09, 2014 at 05:19:08PM +0800, Xiubo Li wrote:
} else {
cinfo = pdev->dev.platform_data;cinfo->snd_card.dev = &pdev->dev;
}cinfo->snd_card.dev = &pdev->dev;
I've applied this since not crashing is good but it's a bug to be writing to the platform data at all, it should be constant. If it needs to be written to a copy should be being used.