Return-Path: Message-ID: <4C369CDC.9080104@signal11.us> Date: Thu, 08 Jul 2010 23:51:56 -0400 From: Alan Ott MIME-Version: 1.0 To: Marcel Holtmann Cc: David S Miller , Jiri Kosina , Michael Poole , Bastien Nocera , Eric Dumazet , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 1/1] Bluetooth: hidp: Add support for hidraw HIDIOCGFEATURE and HIDIOCSFEATURE References: <1276467601-9066-1-git-send-email-alan@signal11.us> <1278623485.10421.73.camel@localhost.localdomain> In-Reply-To: <1278623485.10421.73.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed List-ID: On 07/08/2010 05:11 PM, Marcel Holtmann wrote: > I looked at this and I am bit worried that this should not be done in > this detail in the HIDP driver. Essentially HIDP is a pure transport > driver. It should not handle all these details. Can we make this a bit > easier for the transport drivers to support such features? > > Regards > > Marcel > Hi Marcel, I put these changes (most notably the addition of hidp_get_raw_report()) in hidp because that's where the parallel function hidp_output_raw_report() was already located. I figured the input should go with the output. That said, if there's a better place for both of them (input and output) to go, let me know where you think it should be, and I'll get them moved into the proper spot. I'm not sure what you mean about HIDP being a pure transport driver. Alan.