diff options
author | Lars-Peter Clausen <[email protected]> | 2015-01-23 16:21:36 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2015-01-26 19:14:20 +0000 |
commit | 47e039413cacee70229ebbf6de5a8e3b27e6f057 (patch) | |
tree | f46ebce8e817474d3ff12139dcfc8f47cba4d00c /tools/perf/scripts/python | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) |
ASoC: Add support for allocating AC'97 device before registering it
In some cases it is necessary to before additional operations after the
device has been initialized and before the device is registered. This can
for example be resetting the device.
This patch introduces a new function snd_soc_alloc_ac97_codec() which is
similar to snd_soc_new_ac97_codec() except that it does not register the
device. Any users of snd_soc_alloc_ac97_codec() are responsible for calling
device_add() manually.
Fixes: 6794f709b712 ("ASoC: ac97: Drop delayed device registration")
Reported-by: Manuel Lauss <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Tested-by: Manuel Lauss <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions