[PATCH 5.10 233/599] memory: emif: check the pointer temp in get_device_details()