Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1447548

Re: [RFC 1/7] [media] rc-main: assign driver type during allocation

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From Andi Shyti <andi.shyti@samsung.com>
Newsgroups linux.kernel
Subject Re: [RFC 1/7] [media] rc-main: assign driver type during allocation
Date Thu, 21 Jul 2016 02:30:02 +0200
Message-ID <rXa2e-5t-11@gated-at.bofh.it> (permalink)
References <rWFB7-5U4-7@gated-at.bofh.it> <rWFB8-5U4-9@gated-at.bofh.it> <rXa2e-5t-13@gated-at.bofh.it> <rWLnb-1hJ-7@gated-at.bofh.it>
X-Original-To Sean Young <sean@mess.org>
X-Auditid cbfee68e-f79266d000001428-9f-5790152e7f8b
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.6.0 (2016-04-01)
X-Brightmail-Tracker H4sIAAAAAAAAA+NgFprCIsWRmVeSWpSXmKPExsWyRsSkQFdPdEK4wZFDPBaLfzxnsri8aw6b Rc+GrawWq59VWCx8+p3FgdXj+pJPzB5L3lh7bOm/y+7xeZNcAEsUl01Kak5mWWqRvl0CV8br k3NZC56yVVx5vpytgXEZaxcjJ4eEgIlE3/SzbBC2mMSFe+uBbC4OIYEVjBLLt11nhim63biS FSIxi1Fi+q1pjBDOR0aJO7cvsoNUsQioSrxedh6sg01AU6Lp9g+wsSICchLftrWAdTMLTGSU eNTfyQKSEBbwkVix8gKYzQu0Yub/vcwQUxuZJK7+WcQMkRCU+DH5HlgRs4CWxPqdx5kgbGmJ R39ngG3mBGle+xnoJA4OUQFlibvLgkDmSAhsY5c4OfEvC8R1AhLfJh9iAamREJCV2HQA6jVJ iYMrbrBMYBSbhWTbLCTbZiHZtoCReRWjaGpBckFxUnqRkV5xYm5xaV66XnJ+7iZGYGSd/ves bwfjzQPWhxgFOBiVeHgF1vWHC7EmlhV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d73RXRWpO0Ineqjt/iRo2yDzyH I8o9qtS/Lj/8tEGUsez8xfylvOG2x9k5TNU8ph4w2sF8/fmCxUsKN69aI+0+OdT0oGHmvgl7 lFiKMxINtZiLihMBQgkar/QCAAA=
Dlp-Filter Pass
X-Mtr 20000000000000000@CPGS
X-Cfilter-Loop Reflected
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc Mauro Carvalho Chehab <mchehab@osg.samsung.com>, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Andi Shyti <andi@etezian.org>
X-Original-Date Thu, 21 Jul 2016 09:19:57 +0900
X-Original-Message-ID <20160721001957.GD23521@samsunx.samsung>
X-Original-References <1468943818-26025-1-git-send-email-andi.shyti@samsung.com> <1468943818-26025-2-git-send-email-andi.shyti@samsung.com> <CGME20160719220453epcas1p450fba93c666c0633a8165c7daa33301b@epcas1p4.samsung.com> <20160719220447.GA24697@gofer.mess.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1447548

Show key headers only | View raw


Hi Sean,

> > The driver type can be assigned immediately when an RC device
> > requests to the framework to allocate the device.
> > 
> > This is an 'enum rc_driver_type' data type and specifies whether
> > the device is a raw receiver or scancode receiver. The type will
> > be given as parameter to the rc_allocate_device device.
> 
> This patch is good, but it does unfortunately break all the other
> rc-core drivers, as now rc_allocate_device() needs argument. All
> drivers will need a simple change in this patch.

Yes, but for being an RFC I didn't took care of fixing
everything.

> Also note that there lots of issues that checkpatch.pl would pick
> in these series.

Some of the issues are coming from the code as it was and I
preferred to not change it. The last patch has some that need to
be fixed in the patchset.

Thanks,
Andi

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[RFC 1/7] [media] rc-main: assign driver type during allocation Andi Shyti <andi.shyti@samsung.com> - 2016-07-19 18:00 +0200
  Re: [RFC 1/7] [media] rc-main: assign driver type during allocation Sean Young <sean@mess.org> - 2016-07-20 00:10 +0200
    Re: [RFC 1/7] [media] rc-main: assign driver type during allocation Andi Shyti <andi.shyti@samsung.com> - 2016-07-21 02:30 +0200

csiph-web