usb: cdnsp: Fixes incorrect value in ISOC TRB
authorPawel Laszczak <pawell@cadence.com>
Mon, 8 Mar 2021 07:31:03 +0000 (08:31 +0100)
committerPeter Chen <peter.chen@kernel.org>
Sat, 13 Mar 2021 14:03:24 +0000 (22:03 +0800)
commitd0dcd90b7f472691de122515eb0d1765808b6d91
tree9953504c43b595f6015c6d847894e68a330e490b
parenta38fd8748464831584a19438cbb3082b5a2dab15
usb: cdnsp: Fixes incorrect value in ISOC TRB

Fixes issue with priority of operator. Operator "|" priority is
higher then "? :".
To improve the readability the operator "? :" has been replaced with
"if ()" statement.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@kernel.org>
drivers/usb/cdns3/cdnsp-ring.c