]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
PM / QoS: cleanup FLAGS notifiers during removing
authorBryan Wu <pengw@nvidia.com>
Fri, 20 Dec 2013 02:24:12 +0000 (18:24 -0800)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Tue, 31 Dec 2013 05:57:27 +0000 (21:57 -0800)
commit62c6b78df0e44dff140200b18cdb085e3fe7819e
tree06a27df01291db2802595b84ba63ac0fcfcb45d7
parentc63727fd80917b455ba87f3135b53be9e03608ea
PM / QoS: cleanup FLAGS notifiers during removing

DEV_PM_QOS_FLAGS was introduced in commit
c92b96f94cdc26e33ea490a9a0e02c16988a6dd6, but it was forgot to remove
in dev_pm_qos_remove_notifier().

So without this patch, kernel will enter an endless loop in
notifier_chain_register() when reloading a module multiple times.

Bug 1421146

Change-Id: I6b98fe57a70f172d110cc5f257ce4f853a447802
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/347823
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/base/power/qos.c