We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7bb07a commit a7d9b45Copy full SHA for a7d9b45
sound/soc/codecs/es8316.c
@@ -22,6 +22,7 @@
22
#include <sound/tlv.h>
23
#include <sound/jack.h>
24
#include "es8316.h"
25
+#include "es83xx-dsm-common.h"
26
27
/* In slave mode at single speed, the codec is documented as accepting 5
28
* MCLK/LRCK ratios, but we also add ratio 400, which is commonly used on
@@ -828,6 +829,10 @@ static int es8316_i2c_probe(struct i2c_client *i2c_client)
828
829
struct es8316_priv *es8316;
830
int ret;
831
832
+ ret = es83xx_dsm_dump(dev);
833
+ if (ret < 0)
834
+ dev_warn(dev, "%s: Could not get information with ACPI _DSM method\n", __func__);
835
+
836
es8316 = devm_kzalloc(&i2c_client->dev, sizeof(struct es8316_priv),
837
GFP_KERNEL);
838
if (es8316 == NULL)
0 commit comments