ext qmsi: Update to QMSI 1.1-Beta
QMSI 1.1 Beta is available on Github:
https://github.com/01org/qmsi/releases/tag/v1.1.0-beta
Update the QMSI drop we maintain in Zephyr and
keep the modification to qm_soc_regs.h introduced on commit
6b88a6b945
"ext qmsi: Add USB base and interrupt defines" since
that patch hasn't made into the QMSI 1.1-Beta release in time.
Also, fix the build where needed:
- add hard dependency from qm_i2c to qm_dma
- fix spi_qmsi_ss.c due to new parameter naming
- fix adc_qmsi.c and adc_qmsi_ss.c due to a new parameter
Change-Id: I01388c787f5ee6ee97fece2e42b24a717522207f
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Signed-off-by: Kuo-Lang Tseng <kuo-lang.tseng@intel.com>
This commit is contained in:
parent
19fa82ab91
commit
abd7496225
54 changed files with 2647 additions and 1180 deletions
|
@ -110,6 +110,7 @@ static int adc_qmsi_read(struct device *dev, struct adc_seq_table *seq_tbl)
|
|||
{
|
||||
int i, ret = 0;
|
||||
qm_adc_xfer_t xfer;
|
||||
qm_adc_status_t status;
|
||||
|
||||
struct adc_info *info = dev->driver_data;
|
||||
|
||||
|
@ -148,7 +149,7 @@ static int adc_qmsi_read(struct device *dev, struct adc_seq_table *seq_tbl)
|
|||
* register to check if the number of samples required has been
|
||||
* captured
|
||||
*/
|
||||
if (qm_adc_convert(QM_ADC_0, &xfer) != 0) {
|
||||
if (qm_adc_convert(QM_ADC_0, &xfer, &status) != 0) {
|
||||
ret = -EIO;
|
||||
adc_unlock(info);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue