projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: SOF: Add ops_free
[linux-2.6-microblaze.git]
/
sound
/
soc
/
sof
/
ops.h
diff --git
a/sound/soc/sof/ops.h
b/sound/soc/sof/ops.h
index
b79ae4f
..
55d43ad
100644
(file)
--- a/
sound/soc/sof/ops.h
+++ b/
sound/soc/sof/ops.h
@@
-29,6
+29,12
@@
static inline int sof_ops_init(struct snd_sof_dev *sdev)
return 0;
}
+static inline void sof_ops_free(struct snd_sof_dev *sdev)
+{
+ if (sdev->pdata->desc->ops_free)
+ sdev->pdata->desc->ops_free(sdev);
+}
+
/* Mandatory operations are verified during probing */
/* init */