hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/i2c/tvaudio.c
....@@ -538,7 +538,7 @@
538538 #define TDA9855_INT 0 /* Selects inputs LOR and LOL. (internal) */
539539
540540 /* Unique to TDA9850: */
541
-/* lower 4 bits contol SAP noise threshold, over which SAP turns off
541
+/* lower 4 bits control SAP noise threshold, over which SAP turns off
542542 * set to values of 0x00 through 0x0f for SAP1 through SAP16 */
543543
544544
....@@ -546,7 +546,7 @@
546546 /* Common to TDA9855 and TDA9850: */
547547 #define TDA985x_SAP 3<<6 /* Selects SAP output, mute if not received */
548548 #define TDA985x_MONOSAP 2<<6 /* Selects Mono on left, SAP on right */
549
-#define TDA985x_STEREO 1<<6 /* Selects Stereo ouput, mono if not received */
549
+#define TDA985x_STEREO 1<<6 /* Selects Stereo output, mono if not received */
550550 #define TDA985x_MONO 0 /* Forces Mono output */
551551 #define TDA985x_LMU 1<<3 /* Mute (LOR/LOL for 9855, OUTL/OUTR for 9850) */
552552
....@@ -1981,7 +1981,7 @@
19811981
19821982 /* fill required data structures */
19831983 if (!id)
1984
- strlcpy(client->name, desc->name, I2C_NAME_SIZE);
1984
+ strscpy(client->name, desc->name, I2C_NAME_SIZE);
19851985 chip->desc = desc;
19861986 chip->shadow.count = desc->registers+1;
19871987 chip->prevmode = -1;