asoc: Add support for rouleur codec in machine driver

Add rouleur codec support in bengal machine driver
to create codec entry and invoke mbhc hs detect
functions for respective codecs. Correct the logic
for headset detection pull up current and
volatile registers for digital part of rouleur codec.

Change-Id: I22545dc796c215c1501e883796546c97d8ca8698
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:
Aditya Bavanari
2020-03-12 12:30:10 +05:30
committed by Gerrit - the friendly Code Review server
parent 29eea04338
commit ee6367c560
5 changed files with 47 additions and 8 deletions

View File

@@ -3132,7 +3132,7 @@ static void wcd937x_unbind(struct device *dev)
}
static const struct of_device_id wcd937x_dt_match[] = {
{ .compatible = "qcom,wcd937x-codec" },
{ .compatible = "qcom,wcd937x-codec" , .data = "wcd937x" },
{}
};