On 05/02/2012 10:41 AM, Mark Brown wrote:
On Wed, May 02, 2012 at 10:27:52AM +0200, Ola Lilja wrote:
I'm actually no fan of ifdefs, but let's say that the HDMI-driver is not activated in menuconfig. This would lead to the point where the ASoC-driver cannot be activated at all, although there is two codecs in the driver which could have been used fine. If this is the way forwards then I'll rewrite it this way.
The actual CODECs are supposed to be selected by the machine driver anyway so there should be no possibility of them not being there.
Yes, but the codec-driver has dependency to another driver. For AB8500 codec-driver it needs the MFD-driver. This AB8500-core driver can be deselected in menuconfig and then our whole ASoC-driver will be unavailable, even though the other two codec-drivers actually could be used.