commit | b1d5bcd2d47b303b9c0009e8a101d0bb62a50fda | [log] [tgz] |
---|---|---|
author | Ajay Singh Parmar <aparmar@codeaurora.org> | Thu Nov 23 00:09:02 2017 -0800 |
committer | Ajay Singh Parmar <aparmar@codeaurora.org> | Mon Nov 27 16:59:46 2017 -0800 |
tree | 02487445481605b2939caa1f1c257ef5952dc3e4 | |
parent | 4c4c21682be94cbb9432c218a5c8beea8d071a8d [diff] |
msm: ext-disp: check for NULL before accessing codec ops In case audio codec driver has failed to register with ext-disp module, cable connect or disconnect request from DisplayPort driver can still be processed to update the internal states. Check for codec ops before accessing it during disconnect as it might be NULL. CRs-Fixed: 2128730 Change-Id: I917f0670228da1ebb3fc53064c4844c3f2a57d61 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>