diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-11-30 13:59:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-01 15:18:41 -0500 |
commit | acf1c02f023926b8b04672a9e81b1711ae681619 (patch) | |
tree | 03265931c7b76834810d2a990d1a7a9e55a20552 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
parent | a0da456bbf95d2a9294799bb05c61bfb24736bb7 (diff) |
sfp: fix RX_LOS signal handling
The options word is a be16 quantity, so we need to test the flags
having converted the endian-ness. Convert the flag bits to be16,
which can be optimised by the compiler, rather than converting a
variable at runtime.
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions