projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e71cc2
)
[RAMEN9610-10593][COMMON] ASoC: abox: use non-count-based PM api in tickle
author
ShinHyung
<s47.kang@samsung.com>
Fri, 28 Dec 2018 05:00:32 +0000
(14:00 +0900)
committer
hskang
<hs1218.kang@samsung.com>
Wed, 9 Jan 2019 09:12:36 +0000
(18:12 +0900)
Count based API isn't needed in the tickle.
Change-Id: I1e417c55731c70b8f86551673545fc5ac01b54ff
Signed-off-by: ShinHyung <s47.kang@samsung.com>
sound/soc/samsung/abox/abox.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/samsung/abox/abox.c
b/sound/soc/samsung/abox/abox.c
index 65e469d3e7fa2ff018ccd485051ce13c42f19ea6..f43bbaa369ca946fd94d18cd9e81a692893add45 100644
(file)
--- a/
sound/soc/samsung/abox/abox.c
+++ b/
sound/soc/samsung/abox/abox.c
@@
-1649,7
+1649,7
@@
static void abox_tickle_work_func(struct work_struct *work)
dev_dbg(dev, "%s\n", __func__);
- pm_r
untime_put
(dev);
+ pm_r
equest_idle
(dev);
}
static DECLARE_DELAYED_WORK(abox_tickle_work, abox_tickle_work_func);
@@
-1664,7
+1664,7
@@
static int abox_tickle_put(struct snd_kcontrol *kcontrol,
dev_dbg(dev, "%s(%ld)\n", __func__, val);
if (!!val) {
- pm_r
untime_get
(dev);
+ pm_r
equest_resume
(dev);
schedule_delayed_work(&data->tickle_work, 1 * HZ);
}