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

Skip to content
Unverified Commit d5ec8a27 authored by Nauval Rizky's avatar Nauval Rizky Committed by Michael Bestas
Browse files

extcon: Allocate blocking_notifier_head after registering the device



Commit 6e721f3a
("extcon: Modify extcon device to be created after driver data is set")
move device_register right before adding extcon_dev_list.

This is fine on upstream, however since we have blocking notifier and
it uses managed kzalloc (which has to be used when the dev is already
registered successfully), we have to move it as well.

Fixes: a4febd54
("extcon: Add usage of blocking notifier chain")
Signed-off-by: default avatarNauval Rizky <enuma.alrizky@gmail.com>
Change-Id: I5fb5802a04118f8e3c0b12e3552a0a6281ad133b
parent d2ed1888
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