On 12/02/2020 09:52, Srinivas Kandagatla wrote:
On 12/02/2020 01:52, Adam Serbinski wrote:
+ ret = of_property_read_u32(node, "qcom,pcm-quantype",
+ &priv->quantype);
+ if (ret) {
+ dev_err(dev, "No quantype from DT\n");
+ break;
+ }
+
+ ret = of_property_read_variable_u32_array(node,
+ "qcom,pcm-slot-mapping",
+ priv->slot_number_mapping,
+ 1, AFE_MAX_PCM_SLOT_COUNT);
These new bindings needs to be documented in
Documentation/devicetree/bindings/sound/qcom,q6afe.txt
Replied too quickly!
I would normally have expected bindings patch before this patch though..
--srini
--srini
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel