usb: chipidea: udc: Use direction flags consequently

This driver make assumptions about the value of the direction flags.
So better use them in comparisons to improve the readability.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
This commit is contained in:
Stefan Wahren 2016-08-11 17:19:13 +00:00 • committed by Peter Chen
commit c6ee9f2345