Fixed the reset format error

Signed-off-by: yangshuyong <yangshuyong@xiaomi.com>
This commit is contained in:
yangshuyong 2023-07-27 19:57:32 +08:00 committed by Xiang Xiao
parent 6f6977d002
commit 9c4e608529
2 changed files with 16 additions and 16 deletions

View File

@ -236,9 +236,9 @@ reset_control_array_release(FAR struct reset_control_array *resets)
* acquired parameters. * acquired parameters.
* *
* Input Parameters: * Input Parameters:
* rcdev - An instance of reset_controller_dev type. * rcdev - An instance of reset_controller_dev type.
* index - ID of the reset controller in the reset controller device. * index - ID of the reset controller in the reset controller device.
* shared - Is this a shared (1), or an exclusive (0) reset_control. * shared - Is this a shared (1), or an exclusive (0) reset_control.
* acquired - Only one reset_control may be acquired for a given rcdev and * acquired - Only one reset_control may be acquired for a given rcdev and
* index. * index.
* *
@ -393,9 +393,9 @@ reset_controller_get_by_name(FAR const char *name)
* parameters retrun a reset control. * parameters retrun a reset control.
* *
* Input Parameters: * Input Parameters:
* name - The reset controller name * name - The reset controller name
* index - The reset controller in reset controller device * index - The reset controller in reset controller device
* shared - Is this a shared (1), or an exclusive (0) reset_control * shared - Is this a shared (1), or an exclusive (0) reset_control
* acquired - Flags that used to get a exculsive reset control * acquired - Flags that used to get a exculsive reset control
* *
* Returned Value: * Returned Value:
@ -666,7 +666,7 @@ int reset_control_deassert(FAR struct reset_control *rstc)
* that it handles self-deasserting reset lines via .reset(). In that * that it handles self-deasserting reset lines via .reset(). In that
* case, the reset lines are deasserted by default. If that is not the * case, the reset lines are deasserted by default. If that is not the
* case, the reset controller driver should implement .deassert() and * case, the reset controller driver should implement .deassert() and
* return -ENOTSUPP. * return -ENOTSUP.
*/ */
if (!rstc->rcdev->ops->deassert) if (!rstc->rcdev->ops->deassert)
@ -851,8 +851,8 @@ void reset_control_put(FAR struct reset_control *rstc)
* Get a list of reset controls using device node. * Get a list of reset controls using device node.
* *
* Input Parameters: * Input Parameters:
* name - The reset controller name * name - The reset controller name
* shared - Whether reset controls are shared or not * shared - Whether reset controls are shared or not
* acquired - Only one reset control may be acquired for a given controller * acquired - Only one reset control may be acquired for a given controller
* and ID * and ID
* *

View File

@ -138,9 +138,9 @@ int reset_control_status(FAR struct reset_control *rstc);
* parameters retrun a reset control. * parameters retrun a reset control.
* *
* Input Parameters: * Input Parameters:
* name - The reset controller name * name - The reset controller name
* index - The reset controller in reset controller device * index - The reset controller in reset controller device
* shared - Is this a shared (1), or an exclusive (0) reset_control * shared - Is this a shared (1), or an exclusive (0) reset_control
* acquired - flags that used to get a exculsive reset control * acquired - flags that used to get a exculsive reset control
* *
* Returned Value: * Returned Value:
@ -210,8 +210,8 @@ int reset_control_device_reset(FAR const char *name);
* Get a list of reset controls using device node. * Get a list of reset controls using device node.
* *
* Input Parameters: * Input Parameters:
* name - The reset controller name * name - The reset controller name
* shared - Whether reset controls are shared or not * shared - Whether reset controls are shared or not
* acquired - Only one reset control may be acquired for a given controller * acquired - Only one reset control may be acquired for a given controller
* and ID * and ID
* *
@ -308,7 +308,7 @@ reset_control_get_shared(FAR const char *name)
* This is to be used to perform a list of resets for a device or power * This is to be used to perform a list of resets for a device or power
* domain in whatever order. Returns a struct reset_control or NULL errno. * domain in whatever order. Returns a struct reset_control or NULL errno.
* Input Parameters: * Input Parameters:
* name - The controller name symble * name - The controller name symble
* index - Index of the reset controller * index - Index of the reset controller
* *
* Returned Value: * Returned Value:
@ -342,7 +342,7 @@ reset_control_get_exclusive_by_index(FAR const char *name, int index)
* domain in whatever order. Returns a struct reset_control or NULL errno. * domain in whatever order. Returns a struct reset_control or NULL errno.
* *
* Input Parameters: * Input Parameters:
* node - Device to be reset by the controller * node - Device to be reset by the controller
* index - Index of the reset controller * index - Index of the reset controller
* *
* Returned Value: * Returned Value: