mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-20 19:34:46 +00:00
Merge "hwmon: epm_adc: Update generic request command"
This commit is contained in:
commit
23f756a493
|
@ -168,12 +168,6 @@ static int epm_psoc_generic_request(struct epm_adc_drv *epm_adc,
|
|||
t.len = sizeof(tx_buf);
|
||||
t.bits_per_word = EPM_ADC_SPI_BITS_PER_WORD;
|
||||
|
||||
rc = spi_sync(epm_adc->epm_spi_client, &m);
|
||||
if (rc)
|
||||
return rc;
|
||||
|
||||
memset(tx_buf, 0, sizeof(tx_buf));
|
||||
|
||||
rc = spi_sync(epm_adc->epm_spi_client, &m);
|
||||
if (rc)
|
||||
return rc;
|
||||
|
|
Loading…
Reference in a new issue