H Hartley Sweeten
d123ee3ce0
staging: comedi: ni_stc.h: tidy up AO_Status_1_Register and bits
...
Rename the CamelCase. Use the BIT() marco to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:14 +02:00
H Hartley Sweeten
7b14fffd78
staging: comedi: ni_stc.h: tidy up AI_Status_1_Register and bits
...
Rename the CamelCase. Use the BIT() marco to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:14 +02:00
H Hartley Sweeten
c7edadc103
staging: comedi: ni_stc.h: tidy up AI_Mode_3_Register and bits
...
Rename the CamelCase. Use the BIT() marco to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:14 +02:00
H Hartley Sweeten
5bd1c72837
staging: comedi: ni_stc.h: tidy up AO_Output_Control_Register and bits
...
Rename the CamelCase. Convert the inline helper function into a macro and
use the BIT() marco to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:14 +02:00
H Hartley Sweeten
8102f3d0c1
staging: comedi: ni_stc.h: tidy up Write_Strobe_*_Register
...
The Write_Strobe_*_Register defines are noy used. Instead the more
descriptive Configuration_Memory_Clear, ADC_FIFO_Clear and DAC_FIFO_Clear
defines are used. Remove the unused defines and rename the CamelCase.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
24a11ba670
staging: comedi: ni_stc.h: tidy up RTSI_Board_Register
...
Rename the CamelCase.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
390bc6ffe7
staging: comedi: ni_stc.h: tidy up RTSI_Trig_[AB]_Output_Register and bits
...
Rename the CamelCase. Convert the inline helper functions to macros and use
the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
63ff3f2c29
staging: comedi: ni_stc.h: tidy up AO_Personal_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
c1b74035e1
staging: comedi: ni_stc.h: tidy up AI_Personal_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Tidy up ni_ai_reset() by using a local var to set the common bits and
programming the register in the common code path.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
04b6846731
staging: comedi: ni_stc.h: tidy up Second_IRQ_B_Enable_Register and bits
...
Rename the CamelCase. The bit defines are identical to NISTC_INTB_ENA_REG.
Reuse them.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
4c9c1d2c52
staging: comedi: ni_stc.h: tidy up Interrupt_B_Enable_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
d84e9c3489
staging: comedi: ni_stc.h: tidy up Second_IRQ_A_Enable_Register and bits
...
Rename the CamelCase. The bit defines are identical to NISTC_INTA_ENA_REG.
Reuse them.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
5cca26aaf2
staging: comedi: ni_stc.h: tidy up Interrupt_A_Enable_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:13 +02:00
H Hartley Sweeten
707502f3d0
staging: comedi: ni_stc.h: tidy up Joint_Reset_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
72bca4f5e2
staging: comedi: ni_stc.h: tidy up AO_Mode_3_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
38aba4c994
staging: comedi: ni_stc.h: tidy up G_Autoincrement_Register
...
Rename the CamelCase and define the G0 and G1 registers to add clarity
to the mio_regmap tables.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
f21844d33b
staging: comedi: ni_stc.h: tidy up AO_Trigger_Select_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Tidy up the ni_ao_cmd() by using a local var to mask/set the bits then
programming the register in the common code path.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
2b6285dab7
staging: comedi: ni_stc.h: tidy up AO_Start_Select_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
af5102a77e
staging: comedi: ni_stc.h: tidy up AI_DIV_Load_A_Register
...
Rename the CamelCase.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
f878071a44
staging: comedi: ni_stc.h: tidy up AI_Trigger_Select_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Tidy up ni_ai_cmd() by using a local var to set the common bits and
programming the register in the common code path.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
3e9088929f
staging: comedi: ni_stc.h: tidy up AI_START_STOP_Select_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:12 +02:00
H Hartley Sweeten
27cf6c02ab
staging: comedi: ni_stc.h: tidy up Analog_Trigger_Etc_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:11 +02:00
H Hartley Sweeten
aa9d73ba83
staging: comedi: ni_stc.h: tidy up AI_Output_Control_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Tidy up the programming of this register un ni_ai_reset() by using a
local variable to set the common bits then writing the register in the
common code path.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:11 +02:00
H Hartley Sweeten
d8f62c4638
staging: comedi: ni_stc.h: tidy up Interrupt_Control_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:11 +02:00
H Hartley Sweeten
a4f18b1c40
staging: comedi: ni_stc.h: tidy up RTSI_Trig_Direction_Register and bits
...
Rename the CamelCase and convert the enum and inline function into defines.
Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:11 +02:00
H Hartley Sweeten
e2bdb0d833
staging: comedi: ni_stc.h: remove unreachable code in RTSI_Output_Bit()
...
All the callers of this function check the 'channel' number with
num_configurable_rtsi_channels(). This check can never occure.
Remove it.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:11 +02:00
H Hartley Sweeten
5ecadf8c4f
staging: comedi: ni_stc.h: tidy up IO_Bidirection_Pin_Register
...
Rename the CamelCase.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:10 +02:00
H Hartley Sweeten
f1618db1d9
staging: comedi: ni_mio_common: use 'reg' in ni_set_bitfield()
...
Use the passed 'reg' parameter to write to the STC registers instead
of duplicating the case symbol.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:10 +02:00
H Hartley Sweeten
a47fc02b49
staging: comedi: ni_stc.h: tidy up Clock_and_FOUT_Register and bits
...
Rename the CamelCase and convert the enum and inline function into defines.
Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:10 +02:00
H Hartley Sweeten
37e0ecee83
staging: comedi: ni_stc.h: tidy up AO_*_Load_[AB]_Register
...
Rename the CamelCase.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:10 +02:00
H Hartley Sweeten
ec8bf7250f
staging: comedi: ni_stc.h: tidy up AO_Mode_2_Register and bits
...
Rename the CamelCase and convert the enum into defines. Use the BIT()
macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:10 +02:00
H Hartley Sweeten
4e5ce0a8f3
staging: comedi: ni_stc.h: tidy up AO_Mode_1_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:09 +02:00
H Hartley Sweeten
aff2700837
staging: comedi: ni_stc.h: tidy up G_{Mode,Load,Input}*_Register
...
Rename the CamelCase and define he G0 and G1 registers to add clarity
to the mio_regmap tables.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:09 +02:00
H Hartley Sweeten
a2c537362a
staging: comedi: ni_stc.h: tidy up AI_*_Load_[AB]_Registers
...
Rename the CamelCase.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:09 +02:00
H Hartley Sweeten
b134cc58b8
staging: comedi: ni_stc.h: tidy up AI_Mode_2_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:09 +02:00
H Hartley Sweeten
bd358f5e29
staging: comedi: ni_stc.h: tidy up AI_Mode_1_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:09 +02:00
H Hartley Sweeten
59a97c3c86
staging: comedi: ni_stc.h: tidy up DIO_Control_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
05aafeea0c
staging: comedi: ni_stc.h: tidy up DIO_Output_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
7bfcc2d4cd
staging: comedi: ni_stc.h: tidy up AO_Command_1_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
4c4d715a7d
staging: comedi: ni_stc.h: tidy up AI_Command_1_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
5fa2fa44af
staging: comedi: ni_stc.h: tidy up G_Command_Register
...
Rename the CamelCase and define the G0 and G1 registers to add clarity
to the mio_regmap tables.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
382b3c4f9a
staging: comedi: ni_stc.h: tidy up AO_Command_2_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
a1da35a5c5
staging: comedi: ni_stc.h: tidy up AI_Command_2_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
4a6de8327d
staging: comedi: ni_stc.h: tidy up Interrupt_B_Ack_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:08 +02:00
H Hartley Sweeten
480456d3d6
staging: comedi: ni_stc.h: tidy up Interrupt_A_Ack_Register and bits
...
Rename the CamelCase. Use the BIT() macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:07 +02:00
H Hartley Sweeten
b81ddcc3c9
staging: comedi: ni_mio_common: remove disabled GPCT functions
...
The GPCT (general purpose counter timer) is handled by the ni_tio and
ni_tiocmd modules. Remove the old disabled code in this file.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:07 +02:00
H Hartley Sweeten
793b193606
staging: comedi: ni_stc.h: tidy up NI_M_INTC_STATUS_REG bits
...
Rename the CamelCase and convert enums into defines. Use the BIT()
macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:07 +02:00
H Hartley Sweeten
60f078f974
staging: comedi: ni_stc.h: tidy up NI_M_INTC_ENA_REG bits
...
Rename the CamelCase and convert enums into defines. Use the BIT()
macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:07 +02:00
H Hartley Sweeten
258f004754
staging: comedi: ni_stc.h: tidy up NI_M_CDO_MODE_REG bits
...
Rename the CamelCase and convert enums into defines. Use the BIT()
macro to define the bits.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:07 +02:00
H Hartley Sweeten
b9abc4aa75
staging: comedi: ni_mio_common: remove BUG() check in ni_cdio_cmd()
...
The cmd->scan_begin_src was validated in ni_cdio_cmdtest() and can only
be TRIG_EXT. Remove the switch statement and unnecessary BUG() check.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-05-09 19:05:06 +02:00