Commit 10f035a0 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging:csr: Fix typos in comment and printk

Correct spelling typo in comments and printks.
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b43f9b59
......@@ -883,7 +883,7 @@ static CsrResult handle_host_protocol(card_t *card, u8 *processed_something)
r = read_to_host_signals(card, &done);
if (r != CSR_RESULT_SUCCESS)
{
unifi_error(card->ospriv, "Error occured reading to-host signals\n");
unifi_error(card->ospriv, "Error occurred reading to-host signals\n");
return r;
}
if (done > 0)
......@@ -899,7 +899,7 @@ static CsrResult handle_host_protocol(card_t *card, u8 *processed_something)
r = process_to_host_signals(card, &done);
if (r != CSR_RESULT_SUCCESS)
{
unifi_error(card->ospriv, "Error occured processing to-host signals\n");
unifi_error(card->ospriv, "Error occurred processing to-host signals\n");
return r;
}
......@@ -908,7 +908,7 @@ static CsrResult handle_host_protocol(card_t *card, u8 *processed_something)
r = process_fh_cmd_queue(card, &done);
if (r != CSR_RESULT_SUCCESS)
{
unifi_error(card->ospriv, "Error occured processing from-host signals\n");
unifi_error(card->ospriv, "Error occurred processing from-host signals\n");
return r;
}
if (done > 0)
......@@ -919,7 +919,7 @@ static CsrResult handle_host_protocol(card_t *card, u8 *processed_something)
r = process_fh_traffic_queue(card, &done);
if (r != CSR_RESULT_SUCCESS)
{
unifi_error(card->ospriv, "Error occured processing from-host data signals\n");
unifi_error(card->ospriv, "Error occurred processing from-host data signals\n");
return r;
}
if (done > 0)
......@@ -1953,7 +1953,7 @@ static CsrResult check_fh_sig_slots(card_t *card, u16 needed, s32 *space_fh)
* in the from-host queue using the wire-format structures, as they arrive.
* All other requests are stored in the from-host queue using the host
* (cpu specific) structures. We use the is_packed member of the card_signal_t
* structure that describes the queue to make the distiction.
* structure that describes the queue to make the distinction.
* ---------------------------------------------------------------------------
*/
static CsrResult process_fh_cmd_queue(card_t *card, s32 *processed)
......
......@@ -354,7 +354,7 @@ CHIP_HELPER_LIST(C_DEC)
map that is part of the window and the size is the number of
visible words.
Some of the windows have thier lowest portion covered by
Some of the windows have their lowest portion covered by
registers. For these windows address is the first address
after the registers and size is the siave excluding the part
covered by registers.
......@@ -375,7 +375,7 @@ CHIP_HELPER_LIST(C_DEC)
will be needed if the device is being booted from cold. These
register writes enable the clocks and setup the PLL to a basic
working state. SPI access might be unreliable until these writes
have occured (And they may take mulitple goes).
have occurred (And they may take mulitple goes).
*/
/* HostResetSequence
......
......@@ -117,9 +117,9 @@ typedef enum
UNIFI_TRAFFIC_Q_BE,
UNIFI_TRAFFIC_Q_VI,
UNIFI_TRAFFIC_Q_VO,
UNIFI_TRAFFIC_Q_EAPOL, /* Non existant in HIP */
UNIFI_TRAFFIC_Q_MAX, /* Non existant */
UNIFI_TRAFFIC_Q_MLME /* Non existant */
UNIFI_TRAFFIC_Q_EAPOL, /* Non existent in HIP */
UNIFI_TRAFFIC_Q_MAX, /* Non existent */
UNIFI_TRAFFIC_Q_MLME /* Non existent */
} unifi_TrafficQueue;
/*
......@@ -263,7 +263,7 @@ card_t* unifi_alloc_card(CsrSdioFunction *sdiopriv, void *ospriv);
*
* @return \b 0 if UniFi is initialized.
*
* @return \b -CSR_EIO if an I/O error occured while initializing UniFi
* @return \b -CSR_EIO if an I/O error occurred while initializing UniFi
*
* @return \b -CSR_ENODEV if the card is no longer present.
*
......@@ -311,7 +311,7 @@ void unifi_cancel_pending_signals(card_t *card);
*
* @return \b 0 signal is sent.
*
* @return \b -CSR_EIO if an error occured while sending the signal
* @return \b -CSR_EIO if an error occurred while sending the signal
*
* @return \b -CSR_ENODEV if the card is no longer present.
*
......@@ -361,7 +361,7 @@ void unifi_card_info(card_t *card, card_info_t *card_info);
*
* @return \b 0 if the check was performed.
*
* @return \b -CSR_EIO if an error occured while checking the status.
* @return \b -CSR_EIO if an error occurred while checking the status.
*
* @return \b -CSR_ENODEV if the card is no longer present.
*
......@@ -383,11 +383,11 @@ CsrResult unifi_check_io_status(card_t *card, s32 *status);
* is required. If unifi_bh() is called before the timeout expires,
* the caller must pass in the remaining time.
*
* @return \b 0 if no error occured.
* @return \b 0 if no error occurred.
*
* @return \b -CSR_ENODEV if the card is no longer present.
*
* @return \b -CSR_E* if an error occured while running the bottom half.
* @return \b -CSR_E* if an error occurred while running the bottom half.
*
* @ingroup upperedge
*/
......@@ -439,7 +439,7 @@ enum unifi_periodic_wake_mode
*
* @param periodic_wake_mode the Periodic Wake Mode.
*
* @return \b 0 if no error occured.
* @return \b 0 if no error occurred.
*
* @return \b -CSR_E* if the request failed.
*
......@@ -458,7 +458,7 @@ CsrResult unifi_configure_low_power_mode(card_t *card,
*
* @param card the HIP core lib API context.
*
* @return \b 0 if no error occured.
* @return \b 0 if no error occurred.
*
* @return \b -CSR_ENODEV if the card is no longer present.
*
......
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