* [Vipin.Mehta@Atheros.com: [PATCH] staging: ath6kl: Fixing the driver to use modified mmc_host structure
@ 2010-09-30 0:34 Vipin Mehta
2010-09-30 0:57 ` Stephen Rothwell
0 siblings, 1 reply; 3+ messages in thread
From: Vipin Mehta @ 2010-09-30 0:34 UTC (permalink / raw)
To: sfr; +Cc: linux-next, greg, vmehta
Stephen,
Can you pls help me apply the following patch to the linux-next
tree. The patch fixes a compilation problem with ath6kl due to a
change in the mmc_host structure. The driver compiles fine in the
staging-next-2.6 tree which is where the changes for this driver
actually go. However, the mmc stack in the linux-next tree and
staging-next-2.6 is out of sync and so this patch is only applicable
to linux-next.
Regards,
Vipin
----- Forwarded message from Vipin Mehta <Vipin.Mehta@Atheros.com> -----
Date: Fri, 17 Sep 2010 18:45:38 -0700
From: Vipin Mehta <Vipin.Mehta@Atheros.com>
To: "greg@kroah.com" <greg@kroah.com>
CC: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Vipin Mehta <Vipin.Mehta@Atheros.com>,
"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
"randy.dunlap@oracle.com" <randy.dunlap@oracle.com>
Subject: [PATCH] staging: ath6kl: Fixing the driver to use modified mmc_host
structure
A recent change in the mmc_host structure removed the distinction
between hw and phys segments (58cb50c20fde6059f3f8db4466a1bd4d1fff999c)
Changing the driver to use the modified structure.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
---
.../ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c
index 22c6c66..ee8b477 100644
--- a/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c
+++ b/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c
@@ -285,9 +285,9 @@ A_STATUS SetupHIFScatterSupport(HIF_DEVICE *device, HIF_DEVICE_SCATTER_SUPPORT_I
do {
/* check if host supports scatter requests and it meets our requirements */
- if (device->func->card->host->max_hw_segs < MAX_SCATTER_ENTRIES_PER_REQ) {
+ if (device->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) {
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,("HIF-SCATTER : host only supports scatter of : %d entries, need: %d \n",
- device->func->card->host->max_hw_segs, MAX_SCATTER_ENTRIES_PER_REQ));
+ device->func->card->host->max_segs, MAX_SCATTER_ENTRIES_PER_REQ));
status = A_ENOTSUP;
break;
}
--
1.6.3.3
----- End forwarded message -----
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Vipin.Mehta@Atheros.com: [PATCH] staging: ath6kl: Fixing the driver to use modified mmc_host structure
2010-09-30 0:34 [Vipin.Mehta@Atheros.com: [PATCH] staging: ath6kl: Fixing the driver to use modified mmc_host structure Vipin Mehta
@ 2010-09-30 0:57 ` Stephen Rothwell
2010-09-30 2:21 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2010-09-30 0:57 UTC (permalink / raw)
To: Vipin Mehta; +Cc: linux-next, greg
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hi Vipin,
On Wed, 29 Sep 2010 17:34:19 -0700 Vipin Mehta <vmehta@atheros.com> wrote:
>
> Can you pls help me apply the following patch to the linux-next
> tree. The patch fixes a compilation problem with ath6kl due to a
> change in the mmc_host structure. The driver compiles fine in the
> staging-next-2.6 tree which is where the changes for this driver
> actually go. However, the mmc stack in the linux-next tree and
> staging-next-2.6 is out of sync and so this patch is only applicable
> to linux-next.
I will carry it as a merge fixup patch for the staging-next tree.
Someone just needs to make sure that this patch gets applied (or sent to
Linus) at the right time.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Vipin.Mehta@Atheros.com: [PATCH] staging: ath6kl: Fixing the driver to use modified mmc_host structure
2010-09-30 0:57 ` Stephen Rothwell
@ 2010-09-30 2:21 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2010-09-30 2:21 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Vipin Mehta, linux-next
On Thu, Sep 30, 2010 at 10:57:48AM +1000, Stephen Rothwell wrote:
> Hi Vipin,
>
> On Wed, 29 Sep 2010 17:34:19 -0700 Vipin Mehta <vmehta@atheros.com> wrote:
> >
> > Can you pls help me apply the following patch to the linux-next
> > tree. The patch fixes a compilation problem with ath6kl due to a
> > change in the mmc_host structure. The driver compiles fine in the
> > staging-next-2.6 tree which is where the changes for this driver
> > actually go. However, the mmc stack in the linux-next tree and
> > staging-next-2.6 is out of sync and so this patch is only applicable
> > to linux-next.
>
> I will carry it as a merge fixup patch for the staging-next tree.
> Someone just needs to make sure that this patch gets applied (or sent to
> Linus) at the right time.
I'll keep in my "todo" file to handle it when the merge happens.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-30 2:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-30 0:34 [Vipin.Mehta@Atheros.com: [PATCH] staging: ath6kl: Fixing the driver to use modified mmc_host structure Vipin Mehta
2010-09-30 0:57 ` Stephen Rothwell
2010-09-30 2:21 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.