|
@@ -78,14 +78,14 @@ static int32_t cam_a5_download_fw(void *device_priv)
|
|
if (cam_a5_soc_info->fw_name) {
|
|
if (cam_a5_soc_info->fw_name) {
|
|
CAM_INFO(CAM_ICP, "Downloading firmware %s",
|
|
CAM_INFO(CAM_ICP, "Downloading firmware %s",
|
|
cam_a5_soc_info->fw_name);
|
|
cam_a5_soc_info->fw_name);
|
|
- rc = request_firmware(&core_info->fw_elf,
|
|
|
|
|
|
+ rc = firmware_request_nowarn(&core_info->fw_elf,
|
|
cam_a5_soc_info->fw_name, &pdev->dev);
|
|
cam_a5_soc_info->fw_name, &pdev->dev);
|
|
if (rc) {
|
|
if (rc) {
|
|
CAM_ERR(CAM_ICP, "Failed to locate fw: %d", rc);
|
|
CAM_ERR(CAM_ICP, "Failed to locate fw: %d", rc);
|
|
return rc;
|
|
return rc;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- rc = request_firmware(&core_info->fw_elf,
|
|
|
|
|
|
+ rc = firmware_request_nowarn(&core_info->fw_elf,
|
|
"CAMERA_ICP.elf", &pdev->dev);
|
|
"CAMERA_ICP.elf", &pdev->dev);
|
|
if (rc) {
|
|
if (rc) {
|
|
CAM_ERR(CAM_ICP, "Failed to locate fw: %d", rc);
|
|
CAM_ERR(CAM_ICP, "Failed to locate fw: %d", rc);
|