27 Jan
2011
27 Jan
'11
10:58 a.m.
On Thu, Jan 27, 2011 at 09:21:16AM +0200, Jarkko Nikula wrote:
Peter Ujfalusi peter.ujfalusi@nokia.com wrote:
I don't see how these actually simplifies the codec drivers. We had a single snd_soc_dapm_add_routes call before the patches, now we have two fields to fill in snd_soc_codec_driver...
Yeah, simplification comes only if a driver is checking the return value what most are not doing currently.
For me anything that moves things from code to data structures is a simplification since it reduces the variation between drivers. It's not going to make a massive difference either way to the driver itself but it makes life easier if you want to do something to all drivers.