summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@collabora.com>2017-09-08 00:13:08 -0500
committerMark Brown <broonie@kernel.org>2017-09-19 14:44:30 +0100
commit3bbda5a38601f7675a214be2044e41d7749e6c7b (patch)
treec7e6fb833fca4d3cda74eb6e9695f14d9fea10fe /tools/perf/scripts/python
parentc809fb1e84d5f3f55c3b84710ae06bc3d5943d18 (diff)
ASoC: Intel: cht_bsw_max98090_ti: Fix jack initialization
If the ts3a227e audio accessory detection hardware is present and its driver probed, the jack needs to be created before enabling jack detection in the ts3a227e driver. With this patch, the jack is instantiated in the max98090 headset init function if the ts3a227e is present. This fixes a null pointer dereference as the jack detection enabling function in the ts3a driver was called before the jack is created. [minor correction to keep error handling on jack creation the same as before by Pierre Bossart] Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-By: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions