Re: [PATCH] n-trig digitizer quirks

From: Jiri Kosina
Date: Wed Nov 19 2008 - 09:07:52 EST


On Wed, 19 Nov 2008, Rafi Rubin wrote:

> >> Also, if you do prefer using driver data like that, is the probe
> >> function necessary to make it work?
> > Probe function is necesary, you need to parse the report descriptor
> > (hid_parse()), activate the hardware (hid_hw_start()), etc.
> Just to confirm then, its not necessary if I'm not checking the driver
> data for the quirk?

Correct; if you don't need to do anything special in the _probe function,
the HID core will do everything necessary (descriptor parsing,
low-level hardware initialization) for you.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/