Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c419fcfd authored by Maciej Sosnowski's avatar Maciej Sosnowski Committed by Vinod Koul
Browse files

dca: check against empty dca_domains list before unregister provider



When providers get blocked unregister_dca_providers() is called ending up
with dca_providers and dca_domain lists emptied. Dca should be prevented from
trying to unregister any provider if dca_domain list is found empty.

Cc: <stable@vger.kernel.org>
Reported-by: default avatarJiang Liu <jiang.liu@huawei.com>
Tested-by: default avatarGaohuai Han <hangaohuai@huawei.com>
Signed-off-by: default avatarMaciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: default avatarDan Williams <djbw@fb.com>
parent 6decffd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment