Re: [BACKPORT 4.19.y 3/3] drm/tilcdc: Register cpufreq notifier after we have initialized crtc

From: Sasha Levin
Date: Thu Aug 29 2019 - 19:11:14 EST


On Thu, Aug 29, 2019 at 02:00:01PM -0600, Mathieu Poirier wrote:
From: Jyri Sarha <jsarha@xxxxxx>

commit 432973fd3a20102840d5f7e61af9f1a03c217a4c upstream

Register cpufreq notifier after we have initialized the crtc and
unregister it before we remove the ctrc. Receiving a cpufreq notify
without crtc causes a crash.

Reported-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
Signed-off-by: Jyri Sarha <jsarha@xxxxxx>
Signed-off-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>

I've queued this one for 4.19 and 4.14, thank you!

--
Thanks,
Sasha