ASoC: wsa881x-analog: make probe as async probes

wsa881x-analog probe uses sleep calls,
which stalls kernel booting until sleep completes.
So, make these probes as async probes, to unblock
the kernel booting.

Change-Id: I2dcf8e7b001812d0f107df52ca5508f50d477143
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
This commit is contained in:
Lingutla Chandrasekhar 2016-09-07 16:40:20 +05:30 committed by Gerrit - the friendly Code Review server
parent 8456550a58
commit b24623516d

View file

@ -1414,6 +1414,7 @@ static struct i2c_driver wsa881x_codec_driver = {
.driver = {
.name = "wsa881x-i2c-codec",
.owner = THIS_MODULE,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
#ifdef CONFIG_PM_SLEEP
.pm = &wsa881x_i2c_pm_ops,
#endif