]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: ep0: switch over to IS_ALIGNED
authorFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 10:08:22 +0000 (13:08 +0300)
committerFelipe Balbi <balbi@ti.com>
Sun, 3 Jun 2012 20:08:19 +0000 (23:08 +0300)
commit5c2d698f6b06ca0b34d82acf7b8e0a22c51522cd
tree2771e72d5c349f46eed5fb63ec70902ed60a5be2
parent24e58971f73143a88112e03e24104338f079962a
usb: dwc3: ep0: switch over to IS_ALIGNED

IS_ALIGNED provides a much faster operation for
checking proper size alignment then a modulo
operation. Let's use it.

Reported-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c