23 Jul
2013
23 Jul
'13
9:44 p.m.
On Tue, Jul 23, 2013 at 09:38:00AM +0530, Padma Venkat wrote:
On Fri, Jul 12, 2013 at 2:19 PM, Mark Brown broonie@kernel.org wrote:
Yes, this is good but the quirk should just be found by software based on the compatible string rather than in the DT.
You mean I just need to initialize the quirks in the driver based on the compatible string?
That's the gold standard.
So what about the quirks that I added previously on 5250? Should I also follow the same thing for other quirks?
Yes, ideally.
Or it need to be passed via driver data as it is done in spi driver? Please clarify me.
This is a good way to initialise things based on the name - the core will do the lookups for you.