[PATCH v2] mailbox: Hi3660: Fixup mailbox state machine malfunction issue

2018-12-02 Thread Kevin Wangtao
river will check whether the mailbox is in ready state, if last message has been acknowledged, mailbox driver will clear the ack state to turn the mailbox to ready state again. Signed-off-by: Kevin Wangtao --- Changes v1 -> v2: - update commit message drivers/mailbox/hi3660-mailbo

[PATCH] mailbox: Hi3660: Fixup mailbox state machine malfunction issue

2018-12-02 Thread Kevin Wangtao
river will check whether the mailbox is in ready state, if last message has been acknowledged, the mailbox driver will clear the ack state to turn the mailbox to ready state again. Signed-off-by: Kevin Wangtao --- drivers/mailbox/hi3660-mailbox.c | 22 ++ 1 file change

[PATCH V3] cpufreq: reinitialize new policy min/max when writing scaling_(max|min)_freq

2018-05-30 Thread Kevin Wangtao
ries to write scaling_(max|min)_freq, the min/max of new_policy should be reinitialized with min/max of user_policy, like what cpufreq_update_policy does. Signed-off-by: Kevin Wangtao --- drivers/cpufreq/cpufreq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cpufreq/cpufreq.c b/dr

[PATCH V2] cpufreq: reinitialize new policy min/max when writing scaling_(max|min)_freq

2018-05-26 Thread Kevin Wangtao
ries to write scaling_(max|min)_freq, the min/max of new_policy should be reinitialized with min/max of user_policy, like what cpufreq_update_policy does. Signed-off-by: Kevin Wangtao --- drivers/cpufreq/cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/cpufreq.c b/dr

[PATCH] cpufreq: reinitialize new policy min/max when writing scaling_(max|min)_freq

2018-05-23 Thread Kevin Wangtao
ries to write scaling_(max|min)_freq, the min/max of new_policy should be reinitialized with min/max of user_policy, like what cpufreq_update_policy does. Signed-off-by: Kevin Wangtao --- drivers/cpufreq/cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/cpufreq.c b/dr

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-09 Thread Kevin Wangtao
Hi Chanwoo Choi, >From my point of view, if it is a new framework, you can use either the consistent name or device name, but as a framework has been used for several kernel version, you should not change the device name easily if there is no special reason, It will bring no benefits except for co