Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d80b9b5a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: eeprom: Release the mutex even though got error"

parents 08be99e8 2f73f3f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1016,7 +1016,7 @@ int32_t cam_eeprom_driver_cmd(struct cam_eeprom_ctrl_t *e_ctrl, void *arg)
			&eeprom_cap,
			&eeprom_cap,
			sizeof(struct cam_eeprom_query_cap_t))) {
			sizeof(struct cam_eeprom_query_cap_t))) {
			CAM_ERR(CAM_EEPROM, "Failed Copy to User");
			CAM_ERR(CAM_EEPROM, "Failed Copy to User");
			return -EFAULT;
			rc = -EFAULT;
			goto release_mutex;
			goto release_mutex;
		}
		}
		CAM_DBG(CAM_EEPROM, "eeprom_cap: ID: %d", eeprom_cap.slot_info);
		CAM_DBG(CAM_EEPROM, "eeprom_cap: ID: %d", eeprom_cap.slot_info);