-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
musb: add fix for beagleboard/linux#18
Signed-off-by: Robert Nelson <[email protected]>
- Loading branch information
1 parent
fa1fda3
commit 50cd6e6
Showing
4 changed files
with
31 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 0 additions & 72 deletions
72
patches/fixes/0001-The-current-system-of-setting-channels-to-inactive-p.patch
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
patches/fixes/0001-musb_cppi41-fix-mismerge-https-github.com-beagleboar.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 88bce365a560e3c8b64d9ad654e980d11d7382e5 Mon Sep 17 00:00:00 2001 | ||
From: Robert Nelson <[email protected]> | ||
Date: Mon, 19 Jan 2015 16:36:46 -0600 | ||
Subject: [PATCH] musb_cppi41: fix mismerge: | ||
https://github.com/beagleboard/linux/issues/18 | ||
|
||
Signed-off-by: Robert Nelson <[email protected]> | ||
--- | ||
drivers/usb/musb/musb_cppi41.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/drivers/usb/musb/musb_cppi41.c b/drivers/usb/musb/musb_cppi41.c | ||
index eb9ede3..d616bdf 100644 | ||
--- a/drivers/usb/musb/musb_cppi41.c | ||
+++ b/drivers/usb/musb/musb_cppi41.c | ||
@@ -282,7 +282,7 @@ static void cppi41_dma_callback(void *private_data) | ||
list_add_tail(&cppi41_channel->tx_check, | ||
&controller->early_tx_list); | ||
|
||
- if (!hrtimer_active(&controller->early_tx)) { | ||
+ if (!hrtimer_is_queued(&controller->early_tx)) { | ||
unsigned long usecs = cppi41_channel->total_len / 10; | ||
hrtimer_start_range_ns(&controller->early_tx, | ||
ktime_set(0, usecs * NSEC_PER_USEC), | ||
-- | ||
2.1.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters