summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKarthikeyan Mani <kmani@codeaurora.org>2017-04-04 14:09:09 -0700
committerKarthikeyan Mani <kmani@codeaurora.org>2017-06-07 00:15:42 -0700
commitdb56317667babb3d196d031ba0aacbeeca8f322a (patch)
tree12605138920248c8790f034903c78a7b088683d6 /include/linux
parent8d601310901aec11cc3b8f737a4f3f634aa0a973 (diff)
soundwire: Move device init functionality from master
Move from master probe to the slave probe, the device init functionality of swr slave. Provide device remove functionality to remove a given device from the master's list. CRs-fixed: 2050710 Change-Id: Iee95c146d8b148e15dca5a8c10de65368cf3b55a Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Diffstat (limited to 'include/linux')
-rwxr-xr-xinclude/linux/soundwire/soundwire.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/soundwire/soundwire.h b/include/linux/soundwire/soundwire.h
index 2083e7b5da25..c3b95eeb37e5 100755
--- a/include/linux/soundwire/soundwire.h
+++ b/include/linux/soundwire/soundwire.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2017, 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
@@ -309,4 +309,6 @@ extern int swr_reset_device(struct swr_device *swr_dev);
extern int swr_slvdev_datapath_control(struct swr_device *swr_dev, u8 dev_num,
bool enable);
extern int swr_remove_from_group(struct swr_device *dev, u8 dev_num);
+
+extern void swr_remove_device(struct swr_device *swr_dev);
#endif /* _LINUX_SOUNDWIRE_H */