codec: es755: fix firmware crash during device switch
authorSrinivas Anne <sanne@nvidia.com>
Fri, 17 Jul 2015 00:06:03 +0000 (17:06 -0700)
committerDara Ramesh <dramesh@nvidia.com>
Wed, 19 Aug 2015 04:13:51 +0000 (21:13 -0700)
commitb7e5764f77043655c70bebfb439a1d401a7199c8
treeb218cb3ed97d5b113427857753990f01f56da7aa
parent2b39dc53a4cc367734e193c0167f7195636ca711
codec: es755: fix firmware crash during device switch

This change should fix the audience firmware crash observed while
switching between speaker and headphone devices during simultaneous
playback and capture usecase

Change summary:
Updatedthe Audience kernel driver to not send stop route
twice in a row when switching between speaker and headphone
during simultaneous playback and capture.

Change-Id: I62f5c6d5be58d3718a08dce6ef6c7984ef90e85b
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/771360
(cherry picked from commit fc19a43d2deb0b70094a4c4babb13ed658697549)
Reviewed-on: http://git-master/r/784943
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
Tested-by: Dara Ramesh <dramesh@nvidia.com>
sound/soc/codecs/audience/es-d300.c