.. | .. |
---|
538 | 538 | #define TDA9855_INT 0 /* Selects inputs LOR and LOL. (internal) */ |
---|
539 | 539 | |
---|
540 | 540 | /* 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 |
---|
542 | 542 | * set to values of 0x00 through 0x0f for SAP1 through SAP16 */ |
---|
543 | 543 | |
---|
544 | 544 | |
---|
.. | .. |
---|
546 | 546 | /* Common to TDA9855 and TDA9850: */ |
---|
547 | 547 | #define TDA985x_SAP 3<<6 /* Selects SAP output, mute if not received */ |
---|
548 | 548 | #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 */ |
---|
550 | 550 | #define TDA985x_MONO 0 /* Forces Mono output */ |
---|
551 | 551 | #define TDA985x_LMU 1<<3 /* Mute (LOR/LOL for 9855, OUTL/OUTR for 9850) */ |
---|
552 | 552 | |
---|
.. | .. |
---|
1981 | 1981 | |
---|
1982 | 1982 | /* fill required data structures */ |
---|
1983 | 1983 | if (!id) |
---|
1984 | | - strlcpy(client->name, desc->name, I2C_NAME_SIZE); |
---|
| 1984 | + strscpy(client->name, desc->name, I2C_NAME_SIZE); |
---|
1985 | 1985 | chip->desc = desc; |
---|
1986 | 1986 | chip->shadow.count = desc->registers+1; |
---|
1987 | 1987 | chip->prevmode = -1; |
---|