drm/sprd: fix potential NULL dereference
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.17.3 by commit c3acc8db1bc221604e2db9807f01d8a44b97a64d. For more details please see the references link.