From: Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Greg Kroah-Hartman
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
Jiri Slaby <jslaby-IBi9RG/b67k@public.gmane.org>,
Thierry Reding
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jeff Brasen <jbrasen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] serial: 8250_tegra: Create Tegra specific 8250 driver
Date: Tue, 21 Jan 2020 18:34:58 +0000 [thread overview]
Message-ID: <714eb00b-bb49-9536-ce9c-8928941edef3@nvidia.com> (raw)
In-Reply-To: <f02faa4c-5838-15d2-1b76-75c17fcc0d9d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 21/01/2020 16:31, Dmitry Osipenko wrote:
> Hello Jon,
>
> 20.01.2020 19:01, Jon Hunter пишет:
>
> [snip]
>
>> + res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
>> + if (!res)
>> + return -ENODEV;
>> +
>> + port->membase = devm_ioremap(&pdev->dev, res->start,
>> + resource_size(res));
>
> devm_platform_ioremap_resource()
That would be ideal, but we cannot. The driver needs the res structure
as well later on.
Jon
--
nvpublic
next prev parent reply other threads:[~2020-01-21 18:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 16:01 [PATCH] serial: 8250_tegra: Create Tegra specific 8250 driver Jon Hunter
[not found] ` <20200120160149.29072-1-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-01-21 15:41 ` Greg Kroah-Hartman
[not found] ` <20200121154102.GA588392-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2020-01-21 15:46 ` Jon Hunter
2020-01-21 16:31 ` Dmitry Osipenko
[not found] ` <f02faa4c-5838-15d2-1b76-75c17fcc0d9d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-01-21 16:37 ` Dmitry Osipenko
2020-01-21 18:34 ` Jon Hunter [this message]
[not found] ` <714eb00b-bb49-9536-ce9c-8928941edef3-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-01-21 18:46 ` Dmitry Osipenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=714eb00b-bb49-9536-ce9c-8928941edef3@nvidia.com \
--to=jonathanh-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=jbrasen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=jslaby-IBi9RG/b67k@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox