ANDROID: drivers base/arch_topology: free cpumask cpus_to_visit
authorDietmar Eggemann <dietmar.eggemann@arm.com>
Tue, 13 Jun 2017 22:21:59 +0000 (23:21 +0100)
committerChris Redpath <chris.redpath@arm.com>
Thu, 14 Dec 2017 21:41:03 +0000 (21:41 +0000)
commit8027cbe1727702ecf751147c5f3326e7ddbb69a7
tree9b5967c53d4fc425ab8566879e7135a4a71df658
parentb523403113a539aca1c5b27a21324fa229310df1
ANDROID: drivers base/arch_topology: free cpumask cpus_to_visit

Free cpumask cpus_to_visit in case registering
init_cpu_capacity_notifier has failed or the parsing of the cpu
capacity-dmips-mhz property is done. The cpumask cpus_to_visit is
only used inside the notifier call init_cpu_capacity_callback.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Juri Lelli <juri.lelli@arm.com>
Reported-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Tested-by: Juri Lelli <juri.lelli@arm.com>
Reviewed-by: Juri Lelli <juri.lelli@arm.com>
Change-Id: I84986964e6434d23a3c0feff2d9891516abcfe59
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
drivers/base/arch_topology.c