[alsa-devel] [PATCH 1/2] ASoC: multi-component - Fix DAI ID scanning from device name

Liam Girdwood lrg at slimlogic.co.uk
Tue Aug 3 15:51:22 CEST 2010


On Tue, 2010-08-03 at 09:26 +0300, Jarkko Nikula wrote:
> Format string specifier ".%d" for sscanf cannot scan integer from a string
> "driver-name.123". Fix this by starting the scan from a position after
> "driver-name".
> 
> Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>
> ---
> Liam. This is a trivial fix. No need for separate patch, just embed to your
> next multi-component update. I noticed this because dai->id in mcbsp_dai_probe
> was always zero.
> ---

Thanks

Both Applied.

Liam
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list