drm/i915/hdcp: Use both bits for device_count
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 May 2019 10:22:25 +0000 (11:22 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 May 2019 13:40:50 +0000 (14:40 +0100)
commitaf461ff3fa5e8c68b0a7f241b1d7a3de26caf711
tree6b88db32305942b3f3111e5a38b046b5dae18c3f
parent96ac08137e1a3604a6a62a71462c914d5b624c6d
drm/i915/hdcp: Use both bits for device_count

Smatch spotted:
drivers/gpu/drm/i915//intel_hdcp.c:1406 hdcp2_authenticate_repeater_topology() warn: should this be a bitwise op?

and indeed looks to be suspect that we do need to use a bitwise or to
combine the two register fields into one counter.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190517102225.3069-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_hdcp.c