diff --git a/components/dsc/inc/wlan_dsc.h b/components/dsc/inc/wlan_dsc.h index 6bacfc37a9..00b715ba44 100644 --- a/components/dsc/inc/wlan_dsc.h +++ b/components/dsc/inc/wlan_dsc.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -39,7 +40,7 @@ * * High level transitions block transitions and operations at the same level, * down-tree, and up-tree. So a driver transition effectively prevents any new - * activity in the system, while a vdev transition prevents transtitions and + * activity in the system, while a vdev transition prevents transitions and * operations on the same vdev, its parent psoc, and the driver. This also means * that sibling nodes can transition at the same time, e.g. one vdev going up at * the same time another is going down. diff --git a/components/dsc/inc/wlan_dsc_driver.h b/components/dsc/inc/wlan_dsc_driver.h index 29e16387fa..6594488028 100644 --- a/components/dsc/inc/wlan_dsc_driver.h +++ b/components/dsc/inc/wlan_dsc_driver.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -61,7 +62,7 @@ void dsc_driver_destroy(struct dsc_driver **out_driver); * Call dsc_driver_trans_stop() to complete the transition. * * Return: - * QDF_STATUS_SUCCESS - transition started succcessfully + * QDF_STATUS_SUCCESS - transition started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - transition cannot currently be started * QDF_STATUS_E_ALREADY - transition with @desc already in flight @@ -77,7 +78,7 @@ QDF_STATUS dsc_driver_trans_start(struct dsc_driver *driver, const char *desc); * Call dsc_driver_trans_stop() to complete the transition. * * Return: - * QDF_STATUS_SUCCESS - transition started succcessfully + * QDF_STATUS_SUCCESS - transition started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - transition cannot currently be started * QDF_STATUS_E_ALREADY - transition with @desc already queued or in flight @@ -109,7 +110,7 @@ void dsc_driver_assert_trans_protected(struct dsc_driver *driver); * @driver: the driver to start an operation on * * Return: - * QDF_STATUS_SUCCESS - operation started succcessfully + * QDF_STATUS_SUCCESS - operation started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - operation cannot currently be started * QDF_STATUS_E_NOMEM - out of memory diff --git a/components/dsc/inc/wlan_dsc_psoc.h b/components/dsc/inc/wlan_dsc_psoc.h index 7354121d89..6ff34cb768 100644 --- a/components/dsc/inc/wlan_dsc_psoc.h +++ b/components/dsc/inc/wlan_dsc_psoc.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -67,7 +68,7 @@ void dsc_psoc_destroy(struct dsc_psoc **out_psoc); * Call dsc_psoc_trans_stop() to complete the transition. * * Return: - * QDF_STATUS_SUCCESS - transition started succcessfully + * QDF_STATUS_SUCCESS - transition started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - transition cannot currently be started * QDF_STATUS_E_ALREADY - transition with @desc already in flight @@ -83,7 +84,7 @@ QDF_STATUS dsc_psoc_trans_start(struct dsc_psoc *psoc, const char *desc); * Call dsc_psoc_trans_stop() to complete the transition. * * Return: - * QDF_STATUS_SUCCESS - transition started succcessfully + * QDF_STATUS_SUCCESS - transition started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - transition cannot currently be started * QDF_STATUS_E_ALREADY - transition with @desc already queued or in flight @@ -116,7 +117,7 @@ void dsc_psoc_assert_trans_protected(struct dsc_psoc *psoc); * @psoc: the psoc to start an operation on * * Return: - * QDF_STATUS_SUCCESS - operation started succcessfully + * QDF_STATUS_SUCCESS - operation started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - operation cannot currently be started * QDF_STATUS_E_NOMEM - out of memory diff --git a/components/dsc/inc/wlan_dsc_vdev.h b/components/dsc/inc/wlan_dsc_vdev.h index 7701dc3f21..e18c8f83c0 100644 --- a/components/dsc/inc/wlan_dsc_vdev.h +++ b/components/dsc/inc/wlan_dsc_vdev.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2018-2019, 2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -65,7 +66,7 @@ void dsc_vdev_destroy(struct dsc_vdev **out_vdev); * Call dsc_vdev_trans_stop() to complete the transition. * * Return: - * QDF_STATUS_SUCCESS - transition started succcessfully + * QDF_STATUS_SUCCESS - transition started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - transition cannot currently be started * QDF_STATUS_E_ALREADY - transition with @desc already in flight @@ -81,7 +82,7 @@ QDF_STATUS dsc_vdev_trans_start(struct dsc_vdev *vdev, const char *desc); * Call dsc_vdev_trans_stop() to complete the transition. * * Return: - * QDF_STATUS_SUCCESS - transition started succcessfully + * QDF_STATUS_SUCCESS - transition started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - transition cannot currently be started * QDF_STATUS_E_ALREADY - transition with @desc already queued or in flight @@ -114,7 +115,7 @@ void dsc_vdev_assert_trans_protected(struct dsc_vdev *vdev); * @vdev: the vdev to start an operation on * * Return: - * QDF_STATUS_SUCCESS - operation started succcessfully + * QDF_STATUS_SUCCESS - operation started successfully * QDF_STATUS_E_INVAL - invalid request (causes debug panic) * QDF_STATUS_E_AGAIN - operation cannot currently be started * QDF_STATUS_E_NOMEM - out of memory diff --git a/components/dsc/src/wlan_dsc_vdev.c b/components/dsc/src/wlan_dsc_vdev.c index 19cac1f31f..15b760ded5 100644 --- a/components/dsc/src/wlan_dsc_vdev.c +++ b/components/dsc/src/wlan_dsc_vdev.c @@ -122,7 +122,7 @@ void dsc_vdev_destroy(struct dsc_vdev **out_vdev) * resumed after the current trans/op is completed. return QDF_STATUS_E_BUSY * in this case. * - * If there is a psoc transition taking place becasue of psoc idle shutdown, + * If there is a psoc transition taking place because of psoc idle shutdown, * then the vdev trans/ops should be rejected and queued in the DSC queue so * that it may be resumed after the current trans/ops is completed. Return * QDF_STATUS_E_BUSY in this case.