From 9d0624a740b773d961fe0dc454d748c60d892b71 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Fri, 18 Feb 2011 11:49:43 -0800 Subject: [PATCH] ASoC: Run bias level changes for all DAPM contexts in parallel As bias level changes can be quite time consuming and the bias changes for multiple devices aren't strongly tied to each other (if anything it can be advantageous to bring different devices up together) we can improve the state transition time for multi-component systems by running the bias level changes for all the devices in parallel. This is very simple to achieve using the kernel async functionality so use that to schedule the work. This should have no practical effect for the overwhelming majority of systems which have a single DAPM context - we'll bounce into another thread to do the bias level change but otherwise everything will happen in exactly the same order as it did before. Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- Reading git-format-patch failed