input: touchscreen: goodix_berlin_driver: Always enable panel event notifier
Change-Id: I7e6c1501c2c552ddd5398fc0a0a0595f191705a2 Signed-off-by: Jens Reidel <adrian@travitia.xyz>
This commit is contained in:
parent
c82132045e
commit
d6b29b6c30
@ -2031,8 +2031,10 @@ int goodix_ts_stage2_init(struct goodix_ts_core *cd)
|
||||
ts_info("success register irq");
|
||||
|
||||
#if defined(CONFIG_DRM)
|
||||
if (cd->touch_environment && !strcmp(cd->touch_environment, "pvm"))
|
||||
if (active_panel)
|
||||
goodix_register_for_panel_events(cd->bus->dev->of_node, cd);
|
||||
else
|
||||
ts_err("No panel found");
|
||||
|
||||
#elif defined(CONFIG_FB)
|
||||
cd->fb_notifier.notifier_call = goodix_ts_fb_notifier_callback;
|
||||
|
Loading…
Reference in New Issue
Block a user