[PATCH v2 2/6] arm: davinci: Explicitly set channel controllers' default queues
From: Ben Gardiner <hidden>
Date: 2011-07-29 14:42:36
Also in:
linux-mmc
On Mon, Jul 25, 2011 at 12:31 PM, Nori, Sekhar [off-list ref] wrote:
Hi Sergei, On Mon, Jul 25, 2011 at 19:03:45, Sergei Shtylyov wrote:quoted
Hello. Nori, Sekhar wrote:quoted
quoted
Davinci platforms may define a default queue for each channel controller. If one is not defined, the default queue is set to EVENTQ_1. However, there's no way to distinguish between an unset default queue to one that is set to EVENTQ_0, as EVENTQ_0 = 0.quoted
quoted
Explicitly specify the default queue for all channel controllers on all Davinci platforms to EVENTQ_1, and don't overwrite it in the EDMA probe function.quoted
quoted
One exception is the DA850 board, for which EVENTQ_1 is not a valid option for its second channel controller. Use EVENTQ_0 instead for that channel controller.quoted
quoted
Signed-off-by: Ido Yariv <redacted>quoted
Looks good to me. Will queue for v3.2/fixes? ? Why wait for 3.2? If this is considered a fix, it should be applied to 3.1, no?3.2/fixes just indicates it will be queued as a fix/cleanup for 3.2 so it will have higher priority for merge when compared to a new feature. This patch doesn't really fix any existing broken functionality. It corrects event queue configuration for EDMA CC1 on DA850 for which there are no current users in mainline. So, not sending for v3.1.
If it's not too late: Tested this patch and it fixes SD/MMC1 support on da850. Tested-by: Ben Gardiner <redacted> Thanks, Ido! Best Regards, Ben Gardiner --- Nanometrics Inc. http://www.nanometrics.ca