]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: ltdc: add number of interrupts
authorYannick Fertre <yannick.fertre@st.com>
Tue, 21 Jan 2020 10:13:52 +0000 (11:13 +0100)
committerBenjamin Gaignard <benjamin.gaignard@st.com>
Tue, 4 Feb 2020 10:38:59 +0000 (11:38 +0100)
commit85e2689582ce482da564aba1cb6513812ce4ba5d
tree092afe5f1cddc1d01b4baa9a845c0d67cd0b6ac7
parenta87265917f0a3f7dabfb48302c035506ca98de9e
drm/stm: ltdc: add number of interrupts

The number of interrupts depends on the ltdc version.
Don't try to get interrupt which not exist, avoiding
kernel warning messages.

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1579601632-7001-1-git-send-email-yannick.fertre@st.com
drivers/gpu/drm/stm/ltdc.c
drivers/gpu/drm/stm/ltdc.h