From: prabhakar.csengg@gmail.com (Lad, Prabhakar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/4] [media] davinci: vpif_capture: get subdevs from DT when available
Date: Fri, 9 Jun 2017 08:12:18 +0100 [thread overview]
Message-ID: <CA+V-a8sXbZFfb2+2iaZ6XSaRJqKnSswjPVuf5Qj7EN28absdnQ@mail.gmail.com> (raw)
In-Reply-To: <CAOi56cV18wJce8hzTk0r0YKvr4vzLi8QDwu01Az1rae-9=wMRg@mail.gmail.com>
Hi Kevin,
Thanks for the patch.
On Fri, Jun 9, 2017 at 2:01 AM, Kevin Hilman <khilman@baylibre.com> wrote:
> On Wed, Jun 7, 2017 at 11:29 PM, Hans Verkuil <hverkuil@xs4all.nl> wrote:
>> On 07/06/17 01:37, Kevin Hilman wrote:
>>> Enable getting of subdevs from DT ports and endpoints.
>>>
>>> The _get_pdata() function was larely inspired by (i.e. stolen from)
>>> am437x-vpfe.c
>>>
>>> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
>>> ---
>>> drivers/media/platform/davinci/vpif_capture.c | 126 +++++++++++++++++++++++++-
>>> drivers/media/platform/davinci/vpif_display.c | 5 +
Can you make this as a separate patch.
>>> include/media/davinci/vpif_types.h | 9 +-
>>> 3 files changed, 134 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/drivers/media/platform/davinci/vpif_capture.c b/drivers/media/platform/davinci/vpif_capture.c
>>> index fc5c7622660c..b9d927d1e5a8 100644
>>> --- a/drivers/media/platform/davinci/vpif_capture.c
>>> +++ b/drivers/media/platform/davinci/vpif_capture.c
>>> @@ -22,6 +22,8 @@
>>> #include <linux/slab.h>
>>>
>>> #include <media/v4l2-ioctl.h>
>>> +#include <media/v4l2-of.h>
>>
>> v4l2-of.h no longer exists, so this v2 is wrong. Unfortunately this patch has
>> already been merged in our master. I'm not sure how this could have slipped past
>> both my and Mauro's patch testing (and yours, for that matter).
>
> I have that file in the various trees I tested agains.
>
>> Can you fix this and post a patch on top of the media master that makes this
>> compile again?
>
> Sorry for the dumb question, but what tree are you referring to? I
> tried the master branch of both [1] and [2] and both seem to have that
> include.
>
> Kevin
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
> [2] git://linuxtv.org/mchehab/media-next.git
media master is https://git.linuxtv.org/media_tree.git/
Cheers,
--Prabhakar Lad
next prev parent reply other threads:[~2017-06-09 7:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 23:37 [PATCH v2 0/4] [media] davinci: vpif_capture: raw camera support Kevin Hilman
2017-06-06 23:37 ` [PATCH v2 1/4] [media] davinci: vpif_capture: drop compliance hack Kevin Hilman
2017-06-06 23:37 ` [PATCH v2 2/4] [media] davinci: vpif_capture: get subdevs from DT when available Kevin Hilman
2017-06-08 6:29 ` Hans Verkuil
2017-06-09 1:01 ` Kevin Hilman
2017-06-09 7:12 ` Lad, Prabhakar [this message]
2017-06-09 10:27 ` Sakari Ailus
2017-06-06 23:37 ` [PATCH v2 3/4] [media] davinci: vpif_capture: cleanup raw camera support Kevin Hilman
2017-06-06 23:37 ` [PATCH v2 4/4] [media] davinci: vpif: adaptions for DT support Kevin Hilman
2017-06-07 15:28 ` Mauro Carvalho Chehab
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=CA+V-a8sXbZFfb2+2iaZ6XSaRJqKnSswjPVuf5Qj7EN28absdnQ@mail.gmail.com \
--to=prabhakar.csengg@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).