Merge branch 'x15-audio-fixes' into omap-for-v4.4/fixes
[firefly-linux-kernel-4.4.55.git] / Documentation / mic / mpssd / mpss
index 582aad4811ae802844ebeb37d51cc9a1ffec68a8..09ea90931649c68263aac41af827c9e329a9460e 100755 (executable)
@@ -119,10 +119,10 @@ stop()
        # Wait for the cards to go offline
        for f in $sysfs/*
        do
-               while [ "`cat $f/state`" != "offline" ]
+               while [ "`cat $f/state`" != "ready" ]
                do
                        sleep 1
-                       echo -e "Waiting for "`basename $f`" to go offline"
+                       echo -e "Waiting for "`basename $f`" to become ready"
                done
        done