PM / devfreq: Add proper locking around list_del()
authorAxel Lin <axel.lin@ingics.com>
Thu, 29 Sep 2016 02:13:28 +0000 (10:13 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:28 +0000 (14:33 +0900)
commitbf9f266875130509a7bd807af0515a515180cd0b
tree1d1c2d76eada8e134aaeb977214ed35105ba88a3
parent1113d181cff4b477dfdcf951e95c5b4fbaa06550
PM / devfreq: Add proper locking around list_del()

Use devfreq_list_lock around list_del() to prevent list corruption.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/devfreq/devfreq.c