Commit f74f92be authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

fsl/fman: fix spelling mistake in variable name en_tsu_err_exeption

trivial fix to spelling mistake, en_tsu_err_exeption should
be en_tsu_err_exception
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d4105267
...@@ -337,7 +337,7 @@ struct fman_mac { ...@@ -337,7 +337,7 @@ struct fman_mac {
u8 mac_id; u8 mac_id;
u32 exceptions; u32 exceptions;
bool ptp_tsu_enabled; bool ptp_tsu_enabled;
bool en_tsu_err_exeption; bool en_tsu_err_exception;
struct dtsec_cfg *dtsec_drv_param; struct dtsec_cfg *dtsec_drv_param;
void *fm; void *fm;
struct fman_rev_info fm_rev_info; struct fman_rev_info fm_rev_info;
...@@ -1247,12 +1247,12 @@ int dtsec_set_exception(struct fman_mac *dtsec, ...@@ -1247,12 +1247,12 @@ int dtsec_set_exception(struct fman_mac *dtsec,
switch (exception) { switch (exception) {
case FM_MAC_EX_1G_1588_TS_RX_ERR: case FM_MAC_EX_1G_1588_TS_RX_ERR:
if (enable) { if (enable) {
dtsec->en_tsu_err_exeption = true; dtsec->en_tsu_err_exception = true;
iowrite32be(ioread32be(&regs->tmr_pemask) | iowrite32be(ioread32be(&regs->tmr_pemask) |
TMR_PEMASK_TSREEN, TMR_PEMASK_TSREEN,
&regs->tmr_pemask); &regs->tmr_pemask);
} else { } else {
dtsec->en_tsu_err_exeption = false; dtsec->en_tsu_err_exception = false;
iowrite32be(ioread32be(&regs->tmr_pemask) & iowrite32be(ioread32be(&regs->tmr_pemask) &
~TMR_PEMASK_TSREEN, ~TMR_PEMASK_TSREEN,
&regs->tmr_pemask); &regs->tmr_pemask);
...@@ -1420,7 +1420,7 @@ struct fman_mac *dtsec_config(struct fman_mac_params *params) ...@@ -1420,7 +1420,7 @@ struct fman_mac *dtsec_config(struct fman_mac_params *params)
dtsec->event_cb = params->event_cb; dtsec->event_cb = params->event_cb;
dtsec->dev_id = params->dev_id; dtsec->dev_id = params->dev_id;
dtsec->ptp_tsu_enabled = dtsec->dtsec_drv_param->ptp_tsu_en; dtsec->ptp_tsu_enabled = dtsec->dtsec_drv_param->ptp_tsu_en;
dtsec->en_tsu_err_exeption = dtsec->dtsec_drv_param->ptp_exception_en; dtsec->en_tsu_err_exception = dtsec->dtsec_drv_param->ptp_exception_en;
dtsec->fm = params->fm; dtsec->fm = params->fm;
dtsec->basex_if = params->basex_if; dtsec->basex_if = params->basex_if;
......
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