The function platform_set_drvdata copies the value the variable
card to card->dev->driver_data, then the address of >dev is
assigned to card->dev in atmel_classd_asoc_card_init, but when
calling snd_soc_register_card,the function
dev_set_drvdata(card->dev, card) will do the same copy operation,
so
The function platform_set_drvdata copies the value the variable
card to card->dev->driver_data, then the address of >dev is
assigned to card->dev in atmel_classd_asoc_card_init, but when
calling snd_soc_register_card,the function
dev_set_drvdata(card->dev, card) will do the same copy operation,
so
2 matches
Mail list logo