asoc: codecs: wm8753: allow to change the dai mode even when codec is busy
authorNikesh Oswal <noswal@nvidia.com>
Tue, 24 Jan 2012 06:50:22 +0000 (11:50 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 23:03:05 +0000 (16:03 -0700)
commit4b3567ab1ce2a94c8a86ddfe8ff1678be08f402c
tree4e69cae18d6755b8230ec8db78b604c551b903fb
parent30f0cc0f9b6f795069702e62c3dd4a34a35795c1
asoc: codecs: wm8753: allow to change the dai mode even when codec is busy

In Voice Call when ringtone stream is opened the codec is busy and the
call mode needs to be set before closing the ringtone stream hence we
put the logic in codec driver to enable dai mode change even when codec
is busy

Bug: 919350

Reviewed-on: http://git-master/r/76954

Change-Id: Iaf7176b3a7f72709140e29c2c6071ab4101ec418
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77732
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R6de6624eb26e30c2b9df7c86449557072217a0cc
sound/soc/codecs/wm8753.c