diff options
author | Pierre-Louis Bossart | 2019-06-04 15:08:56 -0500 |
---|---|---|
committer | Mark Brown | 2019-06-06 17:23:47 +0100 |
commit | 79136a016add1acb690fe8d96be50dd22a143d26 (patch) | |
tree | 54e092c0dbdbbcc7d89e43519642200638e9b74f /sound/sound_core.c | |
parent | fb54555134b9b17835545e4d096b5550c27eed64 (diff) |
ASoC: Intel: bytcht_es8316: fix kernel oops with platform_name override
The platform override code uses devm_ functions to allocate memory for
the new name but the card device is not initialized. Fix by moving the
init earlier.
Fixes: e4bc6b1195f64 ("ASoC: Intel: bytcht_es8316: platform name fixup support")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions