Skip to content
Snippets Groups Projects
Commit 63a06e0d authored by Mario Limonciello's avatar Mario Limonciello
Browse files

drm/amd/pm: Adjust returns when power_profile_mode is not supported


This better aligns that the caller can make a mistake with the buffer
and -EINVAL should be returned, but if the hardware doesn't support
the feature it should be -EOPNOTSUPP.

Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Change-Id: I888153521084eb1c80f1b7dac8d6308df6d2a4d0
parent 98c23a0c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment