]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: chipidea: udc: Use direction flags consequently
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 11 Aug 2016 17:19:13 +0000 (17:19 +0000)
committerPeter Chen <peter.chen@nxp.com>
Wed, 14 Sep 2016 02:58:13 +0000 (10:58 +0800)
commitc6ee9f2345a2d95a986309a6486ae780f563230a
tree2b8cc393a1ee8fba93dafe4d590e5aacdb938141
parent9dba516ed282e3d16481051be547b54caa312029
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>
drivers/usb/chipidea/udc.c