Commit adce8aae authored by Jiri Kosina's avatar Jiri Kosina Committed by Treehugger Robot
Browse files

UPSTREAM: HID: playstation: fix return from dualsense_player_led_set_brightness()



brightness_set_blocking() callback expects function returning int. This fixes
the follwoing build failure:

drivers/hid/hid-playstation.c: In function ‘dualsense_player_led_set_brightness’:
drivers/hid/hid-playstation.c:885:1: error: no return statement in function returning non-void [-Werror=return-type]
 }
 ^

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>

Bug: 260685629
(cherry picked from commit 3c92cb4c)
Change-Id: Id16b960826a26ac22c1a14572444f9af29689ed6
Signed-off-by: default avatarFarid Chahla <farid.chahla@sony.com>
(cherry picked from commit 4281e236)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
parent c996cb50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment