ASoC: codecs: skip enabling codec power supplies when not defined

When codec power supplies are from external/battery source and enabled
by default, there's no need to enable these power supplies in probe
functions. When the codec power supplies is not defined in device tree,
avoid inititialzing, enabling and disabling it.

Change-Id: Iebb08cca163c966ae8cbe2d20db174fc5ddf03f1
Signed-off-by: Meng Wang <mengw@codeaurora.org>
3 files changed
tree: 6b43d979ad915d61ab6c78e8e641aae052831768
  1. asoc/
  2. config/
  3. dsp/
  4. include/
  5. ipc/
  6. soc/
  7. Android.mk
  8. Makefile
  9. Makefile.am
  10. NOTICE