summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-03-10 12:45:28 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-04-18 08:41:25 +0200
commit9a20a43c60eb8b3bcb23090d2a12682667a8a83d (patch)
tree3984fee27ef3f44116660f91138a7c994f9d5043
parentbd6901e18fe2743e69b90dc1e8f96a98e103c3d0 (diff)
downloadcoreboot-9a20a43c60eb8b3bcb23090d2a12682667a8a83d.tar.xz
libpayload udc: Clear bit when it needs clearing
Trivial copy & paste error, likely with no visible effect so far. BRANCH=none BUG=none TEST=none Change-Id: Ieaf5e770ab7a8474e407012d2c11a15c46ab357d Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 90f8971500c95456ae70c6f4219b1ff9aff1c0b0 Original-Change-Id: I973573efd0effc9e0173d2b259ce577b6de38de4 Original-Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/258060 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9786 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--payloads/libpayload/drivers/udc/chipidea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/udc/chipidea.c b/payloads/libpayload/drivers/udc/chipidea.c
index 850d0c05b9..87c3076ecb 100644
--- a/payloads/libpayload/drivers/udc/chipidea.c
+++ b/payloads/libpayload/drivers/udc/chipidea.c
@@ -433,7 +433,7 @@ static void chipidea_stall(struct usbdev_ctrl *this,
clrbits_le32(ctrl, 1 << 16);
} else {
setbits_le32(ctrl, 1 << 6);
- setbits_le32(ctrl, 1 << 0);
+ clrbits_le32(ctrl, 1 << 0);
}
}
this->ep_halted[ep][in_dir] = set;