Commit 58fb92a5 authored by Vincent Mailhol's avatar Vincent Mailhol Committed by Marc Kleine-Budde

can: etas_es58x: fix three typos in author name and documentation

Change the author name from "lastname firstname" to "firstname
lastname".

Fix a typo in a variable name in the documentation of struct
es58x_parameters::fifo_mask.

Fix a typo in the title of the datasheet (E701 -> E70) and re-indent
the comments.

Link: https://lore.kernel.org/r/20210628155420.1176217-2-mailhol.vincent@wanadoo.frSigned-off-by: default avatarVincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent c11dcee7
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "es58x_core.h" #include "es58x_core.h"
#define DRV_VERSION "1.00" #define DRV_VERSION "1.00"
MODULE_AUTHOR("Mailhol Vincent <mailhol.vincent@wanadoo.fr>"); MODULE_AUTHOR("Vincent Mailhol <mailhol.vincent@wanadoo.fr>");
MODULE_AUTHOR("Arunachalam Santhanam <arunachalam.santhanam@in.bosch.com>"); MODULE_AUTHOR("Arunachalam Santhanam <arunachalam.santhanam@in.bosch.com>");
MODULE_DESCRIPTION("Socket CAN driver for ETAS ES58X USB adapters"); MODULE_DESCRIPTION("Socket CAN driver for ETAS ES58X USB adapters");
MODULE_VERSION(DRV_VERSION); MODULE_VERSION(DRV_VERSION);
......
...@@ -287,7 +287,7 @@ struct es58x_priv { ...@@ -287,7 +287,7 @@ struct es58x_priv {
* @rx_urb_cmd_max_len: Maximum length of a RX URB command. * @rx_urb_cmd_max_len: Maximum length of a RX URB command.
* @fifo_mask: Bit mask to quickly convert the tx_tail and tx_head * @fifo_mask: Bit mask to quickly convert the tx_tail and tx_head
* field of the struct es58x_priv into echo_skb * field of the struct es58x_priv into echo_skb
* indexes. Properties: @fifo_mask = echos_skb_max - 1 where * indexes. Properties: @fifo_mask = echo_skb_max - 1 where
* echo_skb_max must be a power of two. Also, echo_skb_max must * echo_skb_max must be a power of two. Also, echo_skb_max must
* not exceed the maximum size of the device internal TX FIFO * not exceed the maximum size of the device internal TX FIFO
* length. This parameter is used to control the network queue * length. This parameter is used to control the network queue
......
...@@ -463,9 +463,9 @@ static int es58x_fd_get_timestamp(struct es58x_device *es58x_dev) ...@@ -463,9 +463,9 @@ static int es58x_fd_get_timestamp(struct es58x_device *es58x_dev)
} }
/* Nominal bittiming constants for ES582.1 and ES584.1 as specified in /* Nominal bittiming constants for ES582.1 and ES584.1 as specified in
* the microcontroller datasheet: "SAM E701/S70/V70/V71 Family" * the microcontroller datasheet: "SAM E70/S70/V70/V71 Family" section
* section 49.6.8 "MCAN Nominal Bit Timing and Prescaler Register" * 49.6.8 "MCAN Nominal Bit Timing and Prescaler Register" from
* from Microchip. * Microchip.
* *
* The values from the specification are the hardware register * The values from the specification are the hardware register
* values. To convert them to the functional values, all ranges were * values. To convert them to the functional values, all ranges were
...@@ -484,8 +484,8 @@ static const struct can_bittiming_const es58x_fd_nom_bittiming_const = { ...@@ -484,8 +484,8 @@ static const struct can_bittiming_const es58x_fd_nom_bittiming_const = {
}; };
/* Data bittiming constants for ES582.1 and ES584.1 as specified in /* Data bittiming constants for ES582.1 and ES584.1 as specified in
* the microcontroller datasheet: "SAM E701/S70/V70/V71 Family" * the microcontroller datasheet: "SAM E70/S70/V70/V71 Family" section
* section 49.6.4 "MCAN Data Bit Timing and Prescaler Register" from * 49.6.4 "MCAN Data Bit Timing and Prescaler Register" from
* Microchip. * Microchip.
*/ */
static const struct can_bittiming_const es58x_fd_data_bittiming_const = { static const struct can_bittiming_const es58x_fd_data_bittiming_const = {
...@@ -501,9 +501,9 @@ static const struct can_bittiming_const es58x_fd_data_bittiming_const = { ...@@ -501,9 +501,9 @@ static const struct can_bittiming_const es58x_fd_data_bittiming_const = {
}; };
/* Transmission Delay Compensation constants for ES582.1 and ES584.1 /* Transmission Delay Compensation constants for ES582.1 and ES584.1
* as specified in the microcontroller datasheet: "SAM * as specified in the microcontroller datasheet: "SAM E70/S70/V70/V71
* E701/S70/V70/V71 Family" section 49.6.15 "MCAN Transmitter Delay * Family" section 49.6.15 "MCAN Transmitter Delay Compensation
* Compensation Register" from Microchip. * Register" from Microchip.
*/ */
static const struct can_tdc_const es58x_tdc_const = { static const struct can_tdc_const es58x_tdc_const = {
.tdcv_max = 0, /* Manual mode not supported. */ .tdcv_max = 0, /* Manual mode not supported. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment