28 Jul
2014
28 Jul
'14
2:24 p.m.
On Mon, Jul 28, 2014 at 04:08:43PM +0800, bardliao@realtek.com wrote:
From: Bard Liao bardliao@realtek.com
We assign rt286->codec in rt286_probe. To prevent rt286->codec = NULL when rt286_irq is executed, it is better to request IRQ in rt286_probe instead of rt286_i2c_probe.
No, this is a step backwards - resources should be requested in the device level probe not in the ASoC level probe. It is better to make the interrupt safe if it happens to be called before the card is ready.