diff options
author | Yongqiang Niu <yongqiang.niu@mediatek.com> | 2021-01-11 15:43:44 +0800 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2021-02-04 22:52:55 +0800 |
commit | b1d685b6467ac0d98fc63989f71b4ca9186be5d4 (patch) | |
tree | acdf235b465c192691e35c8763073b8cfc9803b8 /drivers/input | |
parent | 5b9576e202e174ccd099e16b9e9367036247edb8 (diff) |
drm/mediatek: Check if fb is null
It's possible that state->base.fb is null. Add a check before access its
format.
Fixes: b6b1bb980ec4 ("drm/mediatek: Turn off Alpha bit when plane format has no alpha")
Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions