]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: audio_codec: update codec_name as per driver->name
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Thu, 21 Jan 2016 17:03:13 +0000 (22:33 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 22 Jan 2016 07:48:37 +0000 (23:48 -0800)
commita547deb5105b583138e74e882b1e2aae1f76dc9c
treee219e23b19d17bff923fcd0cae9e8c0f637e114a
parent8eff5109616f4fb1784aa311b7544ef29b8deae9
greybus: audio_codec: update codec_name as per driver->name

Originally, driver->name was not poluated from GB and thus
manually set from audio_codec driver as a hack.
This is no more required.
Another patch already removes that hack.

Now, with new driver->name as "legacy.<id-bundle.interface>"
codec is registered with different name.
So, during DAI link registration as well it needs modification.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio_codec.c