From 14a1fecf2f19ca190bcd05f6f447a8d54669e8d1 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Thu, 22 Feb 2018 11:24:11 +0530 Subject: [PATCH] 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 --- asoc/codecs/msm-cdc-pinctrl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/asoc/codecs/msm-cdc-pinctrl.h b/asoc/codecs/msm-cdc-pinctrl.h index 7eabefb80e..4286fffa3b 100644 --- a/asoc/codecs/msm-cdc-pinctrl.h +++ b/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