drm/amd/powerplay: Use bitwise instead of arithmetic operator for flags
authorChen Zhou <chenzhou10@huawei.com>
Fri, 21 Feb 2020 12:21:39 +0000 (20:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:17:33 +0000 (14:17 -0500)
commit4302c9c13abe101a63bf859a5f513e03694e0b8f
treecf6c685d3fa2086a51296cea764419aa7e75b567
parent0943629ceb1321c3ea1a1b81725303b835cb1dbc
drm/amd/powerplay: Use bitwise instead of arithmetic operator for flags

This silences the following coccinelle warning:

"WARNING: sum of probable bitmasks, consider |"

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c