mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
mfd: si476x-cmd: Fix several issues reported by codespell
Fix some typo, find by 'codespell drivers/mfd/si476x-cmd.c' succsess -> success interace -> interface comand -> command failre -> failure Reported-by: k2ci <kernel-bot@kylinos.cn> Signed-off-by: Jackie Liu <liuyun01@kylinos.cn> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230206032231.3208296-1-liu.yun@linux.dev
This commit is contained in:
parent
ded99b89d2
commit
d16fc68587
@ -251,7 +251,7 @@ static int si476x_core_parse_and_nag_about_error(struct si476x_core *core)
|
|||||||
* @usecs: amount of time to wait before reading the response (in
|
* @usecs: amount of time to wait before reading the response (in
|
||||||
* usecs)
|
* usecs)
|
||||||
*
|
*
|
||||||
* Function returns 0 on succsess and negative error code on
|
* Function returns 0 on success and negative error code on
|
||||||
* failure
|
* failure
|
||||||
*/
|
*/
|
||||||
static int si476x_core_send_command(struct si476x_core *core,
|
static int si476x_core_send_command(struct si476x_core *core,
|
||||||
@ -398,7 +398,7 @@ static int si476x_cmd_tune_seek_freq(struct si476x_core *core,
|
|||||||
* The command requests the firmware and patch version for currently
|
* The command requests the firmware and patch version for currently
|
||||||
* loaded firmware (dependent on the function of the device FM/AM/WB)
|
* loaded firmware (dependent on the function of the device FM/AM/WB)
|
||||||
*
|
*
|
||||||
* Function returns 0 on succsess and negative error code on
|
* Function returns 0 on success and negative error code on
|
||||||
* failure
|
* failure
|
||||||
*/
|
*/
|
||||||
int si476x_core_cmd_func_info(struct si476x_core *core,
|
int si476x_core_cmd_func_info(struct si476x_core *core,
|
||||||
@ -429,7 +429,7 @@ EXPORT_SYMBOL_GPL(si476x_core_cmd_func_info);
|
|||||||
* @property: property address
|
* @property: property address
|
||||||
* @value: property value
|
* @value: property value
|
||||||
*
|
*
|
||||||
* Function returns 0 on succsess and negative error code on
|
* Function returns 0 on success and negative error code on
|
||||||
* failure
|
* failure
|
||||||
*/
|
*/
|
||||||
int si476x_core_cmd_set_property(struct si476x_core *core,
|
int si476x_core_cmd_set_property(struct si476x_core *core,
|
||||||
@ -545,13 +545,13 @@ EXPORT_SYMBOL_GPL(si476x_core_cmd_dig_audio_pin_cfg);
|
|||||||
* SI476X_IQCLK_NOOP - do not modify the behaviour
|
* SI476X_IQCLK_NOOP - do not modify the behaviour
|
||||||
* SI476X_IQCLK_TRISTATE - put the pin in tristate condition,
|
* SI476X_IQCLK_TRISTATE - put the pin in tristate condition,
|
||||||
* enable 1MOhm pulldown
|
* enable 1MOhm pulldown
|
||||||
* SI476X_IQCLK_IQ - set pin to be a part of I/Q interace
|
* SI476X_IQCLK_IQ - set pin to be a part of I/Q interface
|
||||||
* in master mode
|
* in master mode
|
||||||
* @iqfs: - IQFS pin function configuration:
|
* @iqfs: - IQFS pin function configuration:
|
||||||
* SI476X_IQFS_NOOP - do not modify the behaviour
|
* SI476X_IQFS_NOOP - do not modify the behaviour
|
||||||
* SI476X_IQFS_TRISTATE - put the pin in tristate condition,
|
* SI476X_IQFS_TRISTATE - put the pin in tristate condition,
|
||||||
* enable 1MOhm pulldown
|
* enable 1MOhm pulldown
|
||||||
* SI476X_IQFS_IQ - set pin to be a part of I/Q interace
|
* SI476X_IQFS_IQ - set pin to be a part of I/Q interface
|
||||||
* in master mode
|
* in master mode
|
||||||
* @iout: - IOUT pin function configuration:
|
* @iout: - IOUT pin function configuration:
|
||||||
* SI476X_IOUT_NOOP - do not modify the behaviour
|
* SI476X_IOUT_NOOP - do not modify the behaviour
|
||||||
@ -589,7 +589,7 @@ EXPORT_SYMBOL_GPL(si476x_core_cmd_zif_pin_cfg);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* si476x_core_cmd_ic_link_gpo_ctl_pin_cfg - send
|
* si476x_core_cmd_ic_link_gpo_ctl_pin_cfg - send
|
||||||
* 'IC_LINK_GPIO_CTL_PIN_CFG' comand to the device
|
* 'IC_LINK_GPIO_CTL_PIN_CFG' command to the device
|
||||||
* @core: - device to send the command to
|
* @core: - device to send the command to
|
||||||
* @icin: - ICIN pin function configuration:
|
* @icin: - ICIN pin function configuration:
|
||||||
* SI476X_ICIN_NOOP - do not modify the behaviour
|
* SI476X_ICIN_NOOP - do not modify the behaviour
|
||||||
@ -1014,7 +1014,7 @@ EXPORT_SYMBOL_GPL(si476x_core_cmd_fm_phase_diversity);
|
|||||||
* NOTE caller must hold core lock
|
* NOTE caller must hold core lock
|
||||||
*
|
*
|
||||||
* Function returns the value of the status bit in case of success and
|
* Function returns the value of the status bit in case of success and
|
||||||
* negative error code in case of failre.
|
* negative error code in case of failure.
|
||||||
*/
|
*/
|
||||||
int si476x_core_cmd_fm_phase_div_status(struct si476x_core *core)
|
int si476x_core_cmd_fm_phase_div_status(struct si476x_core *core)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user