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

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

Merge "hwmon: epm_adc: Update generic request command"

parents 064191b6 f883ae6f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;