Re: [PATCH v16 01/12] input: cyapa: re-design driver to support

From: Jeremiah Mahler
Date: Wed Dec 17 2014 - 05:14:43 EST


Dudley,

On Wed, Dec 17, 2014 at 05:55:37PM +0800, Dudley Du wrote:
> In order to support multiple different chipsets and communication protocols
> trackpad devices in one cyapa driver, the new cyapa driver is re-designed
> with one cyapa driver core and multiple device specific functions component.
> The cyapa driver core is contained in this patch, it supplies basic functions
[...]
> +
> + .set_power_mode = cyapa_gen3_set_power_mode,
> +};
> --
> 1.9.1
>

Unfortunately this patch and the others do not apply.

Patch failed at 0001 input: cyapa: re-design driver to support
The copy of the patch that failed is found in:
/home/jeri/linux-next/.git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am
--abort".

It looks like your mailer may have done some line wrapping that
messed up the patches.

...
- { CYAPA_SMBUS_BLK_HEAD, 16 },
-};
+static int cyapa_reinitialize(struct cyapa *cyapa);

-static ssize_t cyapa_i2c_reg_read_block(struct cyapa *cyapa, u8 reg,
size_t
len,
+/* Returns 0 on success, else negative errno on failure. */
+static ssize_t cyapa_i2c_read(struct cyapa *cyapa, u8 reg, size_t len,
u8 *values)
{
-
...

linux/Documentation/email-clients.txt has good information about these
problems.

--
- Jeremiah Mahler
--
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/