[alsa-devel] [PATCH 3/3] ASoC: sn95031: Fix control-less DAPM routes

Vinod Koul vinod.koul at intel.com
Tue Mar 3 17:25:12 CET 2015


On Fri, Feb 27, 2015 at 02:13:04PM +0100, Lars-Peter Clausen wrote:
> Routes without a control must use NULL for the control name. The sn95031
> driver uses "NULL" instead in a few places. Previous to commit 5fe5b767dc6f
> ("ASoC: dapm: Do not pretend to support controls for non mixer/mux widgets")
> the DAPM core silently ignored non-NULL controls on non-mixer and non-mux
> routes. But starting with that commit it will complain and not add the
> route breaking the sn95031 driver in the process.
> 
> This patch replaces the incorrect "NULL" control name with NULL to fix the
> issue.
Acked-by: Vinod Koul <vinod.koul at intel.com>

-- 
~Vinod



More information about the Alsa-devel mailing list