OSDN Git Service

ASoC: audio-graph-card: Drop remote-endpoint as required property
authorSameer Pujar <spujar@nvidia.com>
Mon, 18 Jan 2021 05:43:05 +0000 (11:13 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 18 Jan 2021 14:02:50 +0000 (14:02 +0000)
The remote-endpoint may not be available if it is part of some
pluggable module. One such example would be an audio card, the
Codec endpoint will not be available until it is plugged in.
Hence drop 'remote-endpoint' as a required property.

Cc: Rob Herring <robh@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1610948585-16286-1-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/audio-graph-port.yaml

index 2005014..766e910 100644 (file)
@@ -71,9 +71,6 @@ properties:
             description: CPU to Codec rate channels.
             $ref: /schemas/types.yaml#/definitions/uint32
 
-        required:
-          - remote-endpoint
-
   ports:
     description: multi OF-Graph subnode
     type: object