summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-02-02 10:40:58 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-04 15:52:21 +0100
commit9d19d966b4cb073bf519d48ba53c33240ac87ce1 (patch)
treee1aa22c1f478e62817b5ac70cdf6a4c5e8e5e854
parent554237f2bb62c4fcf01372e4c63d3e0062f27bac (diff)
downloadlinux-9d19d966b4cb073bf519d48ba53c33240ac87ce1.tar.bz2
usb: gadget: f_uac2: change maxpctksize/maxpcktsize to wMaxPacketSize
The spelling of maxpctksize and maxpcktsize is inconsistent, rename them both to wMaxPacketSize instead. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20220202104058.590312-1-colin.i.king@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/gadget/function/f_uac2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/f_uac2.c b/drivers/usb/gadget/function/f_uac2.c
index ce3ca7e62e2a..33585590d005 100644
--- a/drivers/usb/gadget/function/f_uac2.c
+++ b/drivers/usb/gadget/function/f_uac2.c
@@ -755,11 +755,11 @@ static int set_ep_max_packet_size_bint(struct device *dev, const struct f_uac2_o
if (max_size_bw <= max_size_ep)
dev_dbg(dev,
- "%s %s: Would use maxpctksize %d and bInterval %d\n",
+ "%s %s: Would use wMaxPacketSize %d and bInterval %d\n",
speed_names[speed], dir, max_size_bw, bint);
else {
dev_warn(dev,
- "%s %s: Req. maxpcktsize %d at bInterval %d > max ISOC %d, may drop data!\n",
+ "%s %s: Req. wMaxPacketSize %d at bInterval %d > max ISOC %d, may drop data!\n",
speed_names[speed], dir, max_size_bw, bint, max_size_ep);
max_size_bw = max_size_ep;
}