intel_scu_ipc: Utility driver for intel scu ipc
This driver implements ioctl and interfaces with intel scu ipc driver. It is used to access pmic/msic registers from user space and firmware update utility. Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> [Extensive clean up and debug] Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
committed by
Matthew Garrett
parent
3e5b08cbbf
commit
5369c02d95
@ -497,7 +497,7 @@ int intel_scu_ipc_i2c_cntrl(u32 addr, u32 *data)
|
||||
"intel_scu_ipc: I2C INVALID_CMD = 0x%x\n", cmd);
|
||||
|
||||
mutex_unlock(&ipclock);
|
||||
return -1;
|
||||
return -EIO;
|
||||
}
|
||||
mutex_unlock(&ipclock);
|
||||
return 0;
|
||||
@ -642,7 +642,7 @@ update_end:
|
||||
|
||||
if (status == IPC_FW_UPDATE_SUCCESS)
|
||||
return 0;
|
||||
return -1;
|
||||
return -EIO;
|
||||
}
|
||||
EXPORT_SYMBOL(intel_scu_ipc_fw_update);
|
||||
|
||||
|
Reference in New Issue
Block a user