diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-06-04 23:08:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-06 19:24:08 +0300 |
commit | 096701e8131425044d2054a0c210d6ea24ee7386 (patch) | |
tree | 0e19ea86514feda8382e69cee4155ddde189a645 /fs | |
parent | 79136a016add1acb690fe8d96be50dd22a143d26 (diff) | |
download | linux-096701e8131425044d2054a0c210d6ea24ee7386.tar.xz |
ASoC: Intel: cht_bsw_nau8824: 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: 4506db8043341 ("ASoC: Intel: cht_bsw_nau8824: 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 'fs')
0 files changed, 0 insertions, 0 deletions