Browse Source

ASoC: msm-cdc-pinctrl: Add stub function for pinctrl get function

Add stub function for msm pinctrl get function
when msm pinctrl configuration is not defined.

Change-Id: I5229dd804025e328471f0fd35cff33a69d47b2dd
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 7 years ago
parent
commit
14a1fecf2f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      asoc/codecs/msm-cdc-pinctrl.h

+ 5 - 1
asoc/codecs/msm-cdc-pinctrl.h

@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
@@ -44,6 +44,10 @@ int msm_cdc_pinctrl_drv_init(void)
 void msm_cdc_pinctrl_drv_exit(void)
 {
 }
+bool msm_cdc_pinctrl_get_state(struct device_node *np)
+{
+	return true;
+}
 #endif
 
 #endif