At Wed, 9 Apr 2014 11:22:13 +0200, Thierry Reding wrote: > > > + > > +static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; > > +module_param_array(probe_mask, int, NULL, 0444); > > +MODULE_PARM_DESC(probe_mask, "Bitmask to probe codecs (default = -1)."); > > Is this really necessary? Do we need this with Tegra? Can't we simply > assume that there's always only one codec? Or always use a probe_mask of > -1? Alternatively, wouldn't this be better off in DT? This is an option rather for debugging. Usually the codec is recognized automatically in the case of HD-audio. But, another point is, suppose this is really specific to Tegra and nothing else, whether we need multiple instances. If there is only a single controller, we can omit the arrays. Takashi -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html