Skip to content

Commit d335230

Browse files
cristiccJiri Kosina
authored andcommitted
HID: playstation: Update SP preamp gain comment line
Adjusting speaker pre-amp gain to 0x2 indicates +6dB, hence update the related comment line accordingly. Suggested-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent e1c24d5 commit d335230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/hid-playstation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ static void dualsense_output_worker(struct work_struct *work)
13721372
*/
13731373
common->valid_flag0 |= DS_OUTPUT_VALID_FLAG0_SPEAKER_VOLUME_ENABLE;
13741374
common->speaker_volume = 0x64;
1375-
/* Set SP preamp gain to ~30% */
1375+
/* Set SP preamp gain to +6dB */
13761376
common->valid_flag1 = DS_OUTPUT_VALID_FLAG1_AUDIO_CONTROL2_ENABLE;
13771377
common->audio_control2 =
13781378
FIELD_PREP(DS_OUTPUT_AUDIO_FLAGS2_SP_PREAMP_GAIN, 0x2);

0 commit comments

Comments
 (0)