[PATCH 5.17 0387/1126] memory: emif: check the pointer temp in get_device_details()