]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soundwire: Correct some typos in comments
authorShen Lichuan <shenlichuan@vivo.com>
Wed, 25 Sep 2024 08:11:34 +0000 (16:11 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 3 Oct 2024 07:16:23 +0000 (12:46 +0530)
Fixed some confusing spelling errors that were currently identified,
the details are as follows:

-in the code comments:
drivers/soundwire/bus.c:115: enumuration==> enumeration
drivers/soundwire/qcom.c:1176: wil ==> will
drivers/soundwire/sysfs_slave.c:218: highligh ==> highlight

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Link: https://lore.kernel.org/r/20240925081134.10248-1-shenlichuan@vivo.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c
drivers/soundwire/qcom.c
drivers/soundwire/sysfs_slave.c

index 263ca32f0c5c3952e0ec9d624c8bd72ca712a184..d1dc62c34f1cf319ffe7d038e6744b2963da1b4a 100644 (file)
@@ -112,7 +112,7 @@ int sdw_bus_master_add(struct sdw_bus *bus, struct device *parent,
        /* Set higher order bits */
        *bus->assigned = ~GENMASK(SDW_BROADCAST_DEV_NUM, SDW_ENUM_DEV_NUM);
 
-       /* Set enumuration device number and broadcast device number */
+       /* Set enumeration device number and broadcast device number */
        set_bit(SDW_ENUM_DEV_NUM, bus->assigned);
        set_bit(SDW_BROADCAST_DEV_NUM, bus->assigned);
 
index aed57002fd0e632a87e09c5c1becf8d9f1ebfb22..2b403b14066c1611e69a07859d0f10d699c26399 100644 (file)
@@ -1173,7 +1173,7 @@ static int qcom_swrm_stream_alloc_ports(struct qcom_swrm_ctrl *ctrl,
        else
                sconfig.direction = SDW_DATA_DIR_RX;
 
-       /* hw parameters wil be ignored as we only support PDM */
+       /* hw parameters will be ignored as we only support PDM */
        sconfig.ch_count = 1;
        sconfig.frame_rate = params_rate(params);
        sconfig.type = stream->type;
index f4259710dd0f723bb20a46213cf9eb9fc0804ed5..c5c22d1708ec529a427b3a61203cce9633b4a1cf 100644 (file)
@@ -215,7 +215,7 @@ const struct attribute_group *sdw_attr_groups[] = {
 
 /*
  * the status is shown in capital letters for UNATTACHED and RESERVED
- * on purpose, to highligh users to the fact that these status values
+ * on purpose, to highlight users to the fact that these status values
  * are not expected.
  */
 static const char *const slave_status[] = {