Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280934
b: refs/heads/master
c: 14ff96e
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Dec 21, 2011
1 parent de3486a commit 46f2eca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abfbe33410d1931d4c18fa73f3c2cea9688aaad6
refs/heads/master: 14ff96e04c0b29736c8c81fbe75e86dd373c8e22
3 changes: 1 addition & 2 deletions trunk/drivers/usb/renesas_usbhs/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,7 @@ static u16 usbhsp_setup_pipecfg(struct usbhs_pipe *pipe,
if (dir_in)
usbhsp_flags_set(pipe, IS_DIR_HOST);

if ((is_host && !dir_in) ||
(!is_host && dir_in))
if (!!is_host ^ !!dir_in)
dir |= DIR_OUT;

if (!dir)
Expand Down

0 comments on commit 46f2eca

Please sign in to comment.