]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0057db4e14a3a37af9f5e348c361792fa5146384
tree9953504c43b595f6015c6d847894e68a330e490b
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
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: cdacaf0d5af1 ("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