mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 10:36:45 +07:00
Staging: comedi: icp_multi: white space style fixes
no code changes, just fixing white space, line length, etc Signed-off-by: Dirk Hohndel <hohndel@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
64ca6a7eb1
commit
a622afcb7e
@ -266,7 +266,7 @@ static int icp_multi_insn_read_ai(struct comedi_device *dev,
|
||||
devpriv->IntStatus |= ADC_READY;
|
||||
writew(devpriv->IntStatus, devpriv->io_addr + ICP_MULTI_INT_STAT);
|
||||
|
||||
/* Set up appropriate channel, mode and range data, for specified channel */
|
||||
/* Set up appropriate channel, mode and range data, for specified ch */
|
||||
setup_channel_list(dev, s, &insn->chanspec, 1);
|
||||
|
||||
#ifdef ICP_MULTI_EXTDEBUG
|
||||
@ -404,7 +404,8 @@ static int icp_multi_insn_write_ao(struct comedi_device *dev,
|
||||
writew(devpriv->DacCmdStatus, devpriv->io_addr + ICP_MULTI_DAC_CSR);
|
||||
|
||||
for (n = 0; n < insn->n; n++) {
|
||||
/* Wait for analogue output data register to be ready for new data, or get fed up waiting */
|
||||
/* Wait for analogue output data register to be
|
||||
* ready for new data, or get fed up waiting */
|
||||
timeout = 100;
|
||||
while (timeout--) {
|
||||
if (!(readw(devpriv->io_addr +
|
||||
@ -786,7 +787,8 @@ static void setup_channel_list(struct comedi_device *dev,
|
||||
chanprog &= 0x000f;
|
||||
}
|
||||
|
||||
/* Clear channel, range and input mode bits in A/D command/status register */
|
||||
/* Clear channel, range and input mode bits
|
||||
* in A/D command/status register */
|
||||
devpriv->AdcCmdStatus &= 0xf00f;
|
||||
|
||||
/* Set channel number and differential mode status bit */
|
||||
|
Loading…
Reference in New Issue
Block a user