Skip to content

Commit 70db9aa

Browse files
cristiccJiri Kosina
authored andcommitted
HID: playstation: Correct spelling in comment sections
Handle a couple of spelling complaints from checkpatch.pl: CHECK: 'connectd' may be misspelled - perhaps 'connected'? CHECK: 'Comptabile' may be misspelled - perhaps 'Compatible'? Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Reviewed-by: Benjamin Tissoires <bentiss@kernel.org> Tested-by: Benjamin Tissoires <bentiss@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent 134a40c commit 70db9aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/hid/hid-playstation.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ struct dualsense_output_report {
338338
/* Battery status within batery_status field. */
339339
#define DS4_BATTERY_STATUS_FULL 11
340340
/* Status1 bit2 contains dongle connection state:
341-
* 0 = connectd
341+
* 0 = connected
342342
* 1 = disconnected
343343
*/
344344
#define DS4_STATUS1_DONGLE_STATE BIT(2)
@@ -2169,7 +2169,7 @@ static void dualshock4_output_worker(struct work_struct *work)
21692169

21702170
if (ds4->update_lightbar) {
21712171
common->valid_flag0 |= DS4_OUTPUT_VALID_FLAG0_LED;
2172-
/* Comptabile behavior with hid-sony, which used a dummy global LED to
2172+
/* Compatible behavior with hid-sony, which used a dummy global LED to
21732173
* allow enabling/disabling the lightbar. The global LED maps to
21742174
* lightbar_enabled.
21752175
*/

0 commit comments

Comments
 (0)