staging: dgnc: Fix long line and spelling mistake
This patch fixes the checkpatch.pl warning: Line over 80 characters. Also, the word 'because' was spelled as 'Becuz' and has been corrected. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e88e4463b9
commit
bbac843d14
@@ -107,7 +107,9 @@ static inline void neo_set_cts_flow_control(struct channel_t *ch)
|
|||||||
/* Turn off auto Xon flow control */
|
/* Turn off auto Xon flow control */
|
||||||
efr &= ~UART_17158_EFR_IXON;
|
efr &= ~UART_17158_EFR_IXON;
|
||||||
|
|
||||||
/* Why? Becuz Exar's spec says we have to zero it out before setting it */
|
/* Why? Because Exar's spec says we have to zero it
|
||||||
|
* out before setting it
|
||||||
|
*/
|
||||||
writeb(0, &ch->ch_neo_uart->efr);
|
writeb(0, &ch->ch_neo_uart->efr);
|
||||||
|
|
||||||
/* Turn on UART enhanced bits */
|
/* Turn on UART enhanced bits */
|
||||||
@@ -143,7 +145,9 @@ static inline void neo_set_rts_flow_control(struct channel_t *ch)
|
|||||||
ier &= ~UART_17158_IER_XOFF;
|
ier &= ~UART_17158_IER_XOFF;
|
||||||
efr &= ~UART_17158_EFR_IXOFF;
|
efr &= ~UART_17158_EFR_IXOFF;
|
||||||
|
|
||||||
/* Why? Becuz Exar's spec says we have to zero it out before setting it */
|
/* Why? Because Exar's spec says we have to zero it
|
||||||
|
* out before setting it
|
||||||
|
*/
|
||||||
writeb(0, &ch->ch_neo_uart->efr);
|
writeb(0, &ch->ch_neo_uart->efr);
|
||||||
|
|
||||||
/* Turn on UART enhanced bits */
|
/* Turn on UART enhanced bits */
|
||||||
@@ -181,7 +185,9 @@ static inline void neo_set_ixon_flow_control(struct channel_t *ch)
|
|||||||
/* Turn on auto Xon flow control */
|
/* Turn on auto Xon flow control */
|
||||||
efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXON);
|
efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXON);
|
||||||
|
|
||||||
/* Why? Becuz Exar's spec says we have to zero it out before setting it */
|
/* Why? Because Exar's spec says we have to zero it
|
||||||
|
* out before setting it
|
||||||
|
*/
|
||||||
writeb(0, &ch->ch_neo_uart->efr);
|
writeb(0, &ch->ch_neo_uart->efr);
|
||||||
|
|
||||||
/* Turn on UART enhanced bits */
|
/* Turn on UART enhanced bits */
|
||||||
@@ -219,7 +225,9 @@ static inline void neo_set_ixoff_flow_control(struct channel_t *ch)
|
|||||||
ier |= UART_17158_IER_XOFF;
|
ier |= UART_17158_IER_XOFF;
|
||||||
efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXOFF);
|
efr |= (UART_17158_EFR_ECB | UART_17158_EFR_IXOFF);
|
||||||
|
|
||||||
/* Why? Becuz Exar's spec says we have to zero it out before setting it */
|
/* Why? Because Exar's spec says we have to zero it
|
||||||
|
* out before setting it
|
||||||
|
*/
|
||||||
writeb(0, &ch->ch_neo_uart->efr);
|
writeb(0, &ch->ch_neo_uart->efr);
|
||||||
|
|
||||||
/* Turn on UART enhanced bits */
|
/* Turn on UART enhanced bits */
|
||||||
@@ -260,7 +268,9 @@ static inline void neo_set_no_input_flow_control(struct channel_t *ch)
|
|||||||
else
|
else
|
||||||
efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXOFF);
|
efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXOFF);
|
||||||
|
|
||||||
/* Why? Becuz Exar's spec says we have to zero it out before setting it */
|
/* Why? Because Exar's spec says we have to zero
|
||||||
|
* it out before setting it
|
||||||
|
*/
|
||||||
writeb(0, &ch->ch_neo_uart->efr);
|
writeb(0, &ch->ch_neo_uart->efr);
|
||||||
|
|
||||||
/* Turn on UART enhanced bits */
|
/* Turn on UART enhanced bits */
|
||||||
@@ -298,7 +308,9 @@ static inline void neo_set_no_output_flow_control(struct channel_t *ch)
|
|||||||
else
|
else
|
||||||
efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXON);
|
efr &= ~(UART_17158_EFR_ECB | UART_17158_EFR_IXON);
|
||||||
|
|
||||||
/* Why? Becuz Exar's spec says we have to zero it out before setting it */
|
/* Why? Because Exar's spec says we have to zero it
|
||||||
|
* out before setting it
|
||||||
|
*/
|
||||||
writeb(0, &ch->ch_neo_uart->efr);
|
writeb(0, &ch->ch_neo_uart->efr);
|
||||||
|
|
||||||
/* Turn on UART enhanced bits */
|
/* Turn on UART enhanced bits */
|
||||||
|
|||||||
Reference in New Issue
Block a user