* [PATCH] spi/qspi: Fix return from mmap path
@ 2014-03-10 9:29 Sourav Poddar
[not found] ` <1394443753-25773-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Sourav Poddar @ 2014-03-10 9:29 UTC (permalink / raw)
To: broonie-QSEj5FYQhm4dnm+yROfE0A
Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA, Sourav Poddar
mmap resource requirement is only for memory mapped operations.
If the user does not populate mmap resource, dont call return,
instead we go on for normal spi mode operations.
Signed-off-by: Sourav Poddar <sourav.poddar-l0cyMroinI0@public.gmane.org>
---
drivers/spi/spi-ti-qspi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c
index 49ddfc7..6c211d1 100644
--- a/drivers/spi/spi-ti-qspi.c
+++ b/drivers/spi/spi-ti-qspi.c
@@ -461,7 +461,6 @@ static int ti_qspi_probe(struct platform_device *pdev)
if (res_mmap == NULL) {
dev_err(&pdev->dev,
"memory mapped resource not required\n");
- return -ENODEV;
}
}
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] spi/qspi: Fix return from mmap path
[not found] ` <1394443753-25773-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
@ 2014-03-10 9:49 ` sourav
[not found] ` <531D8AA1.305-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: sourav @ 2014-03-10 9:49 UTC (permalink / raw)
To: Mark Brown
Cc: Sourav Poddar, broonie-QSEj5FYQhm4dnm+yROfE0A,
linux-spi-u79uwXL29TY76Z2rM5mHXA
+ Mark's kernel.org email
On Monday 10 March 2014 02:59 PM, Sourav Poddar wrote:
> mmap resource requirement is only for memory mapped operations.
> If the user does not populate mmap resource, dont call return,
> instead we go on for normal spi mode operations.
>
> Signed-off-by: Sourav Poddar<sourav.poddar-l0cyMroinI0@public.gmane.org>
> ---
> drivers/spi/spi-ti-qspi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c
> index 49ddfc7..6c211d1 100644
> --- a/drivers/spi/spi-ti-qspi.c
> +++ b/drivers/spi/spi-ti-qspi.c
> @@ -461,7 +461,6 @@ static int ti_qspi_probe(struct platform_device *pdev)
> if (res_mmap == NULL) {
> dev_err(&pdev->dev,
> "memory mapped resource not required\n");
> - return -ENODEV;
> }
> }
>
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi/qspi: Fix return from mmap path
[not found] ` <531D8AA1.305-l0cyMroinI0@public.gmane.org>
@ 2014-03-10 10:15 ` Mark Brown
[not found] ` <20140310101556.GR28112-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2014-03-10 10:15 UTC (permalink / raw)
To: sourav; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
On Mon, Mar 10, 2014 at 03:19:21PM +0530, sourav wrote:
> + Mark's kernel.org email
> On Monday 10 March 2014 02:59 PM, Sourav Poddar wrote:
None of the tools can apply patches that have been quoted...
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi/qspi: Fix return from mmap path
[not found] ` <20140310101556.GR28112-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-03-10 10:20 ` sourav
[not found] ` <531D91FA.3070408-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: sourav @ 2014-03-10 10:20 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA
On Monday 10 March 2014 03:45 PM, Mark Brown wrote:
> On Mon, Mar 10, 2014 at 03:19:21PM +0530, sourav wrote:
>> + Mark's kernel.org email
>> On Monday 10 March 2014 02:59 PM, Sourav Poddar wrote:
> None of the tools can apply patches that have been quoted...
I am not sure whats happening. I will send you the new version.
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi/qspi: Fix return from mmap path
[not found] ` <531D91FA.3070408-l0cyMroinI0@public.gmane.org>
@ 2014-03-10 10:28 ` Mark Brown
0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2014-03-10 10:28 UTC (permalink / raw)
To: sourav; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 528 bytes --]
On Mon, Mar 10, 2014 at 03:50:42PM +0530, sourav wrote:
> On Monday 10 March 2014 03:45 PM, Mark Brown wrote:
> >On Mon, Mar 10, 2014 at 03:19:21PM +0530, sourav wrote:
> >>+ Mark's kernel.org email
> >>On Monday 10 March 2014 02:59 PM, Sourav Poddar wrote:
> >None of the tools can apply patches that have been quoted...
> I am not sure whats happening. I will send you the new version.
What I'm saying is that if you got the address wrong CCing me into a
reply isn't going to help much since the quoting mangles the patch.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] spi/qspi: Fix return from mmap path
@ 2014-03-10 10:30 Sourav Poddar
[not found] ` <1394447443-9861-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Sourav Poddar @ 2014-03-10 10:30 UTC (permalink / raw)
To: broonie-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA, Sourav Poddar
mmap resource requirement is only for memory mapped operations.
If the user does not populate mmap resource, dont call return,
instead we go on for normal spi mode operations.
Signed-off-by: Sourav Poddar <sourav.poddar-l0cyMroinI0@public.gmane.org>
---
drivers/spi/spi-ti-qspi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c
index 49ddfc7..6c211d1 100644
--- a/drivers/spi/spi-ti-qspi.c
+++ b/drivers/spi/spi-ti-qspi.c
@@ -461,7 +461,6 @@ static int ti_qspi_probe(struct platform_device *pdev)
if (res_mmap == NULL) {
dev_err(&pdev->dev,
"memory mapped resource not required\n");
- return -ENODEV;
}
}
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] spi/qspi: Fix return from mmap path
[not found] ` <1394447443-9861-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
@ 2014-03-10 11:12 ` Mark Brown
0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2014-03-10 11:12 UTC (permalink / raw)
To: Sourav Poddar; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
On Mon, Mar 10, 2014 at 04:00:42PM +0530, Sourav Poddar wrote:
> mmap resource requirement is only for memory mapped operations.
> If the user does not populate mmap resource, dont call return,
> instead we go on for normal spi mode operations.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-03-10 11:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 9:29 [PATCH] spi/qspi: Fix return from mmap path Sourav Poddar
[not found] ` <1394443753-25773-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
2014-03-10 9:49 ` sourav
[not found] ` <531D8AA1.305-l0cyMroinI0@public.gmane.org>
2014-03-10 10:15 ` Mark Brown
[not found] ` <20140310101556.GR28112-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-03-10 10:20 ` sourav
[not found] ` <531D91FA.3070408-l0cyMroinI0@public.gmane.org>
2014-03-10 10:28 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2014-03-10 10:30 Sourav Poddar
[not found] ` <1394447443-9861-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
2014-03-10 11:12 ` Mark Brown
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.