From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Stephane Grosjean <s.grosjean@peak-system.com>,
linux-can@vger.kernel.org
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Subject: Re: [PATCH v4] can/peak_usb: add support for PEAK new CANFD USB adapters
Date: Tue, 13 Jan 2015 14:32:55 +0100 [thread overview]
Message-ID: <54B51E87.30308@pengutronix.de> (raw)
In-Reply-To: <54B51DB5.2030707@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]
On 01/13/2015 02:29 PM, Marc Kleine-Budde wrote:
> On 01/13/2015 02:18 PM, Stephane Grosjean wrote:
>> Hi Marc,
>>
>> Le 07/01/2015 18:03, Marc Kleine-Budde a écrit :
>>> On 01/06/2015 11:00 AM, Stephane Grosjean wrote:
>>> @@ -750,9 +795,10 @@ static int peak_usb_create_dev(struct
>>> peak_usb_adapter *peak_usb_adapter,
>>> dev->can.clock = peak_usb_adapter->clock;
>>> dev->can.bittiming_const = &peak_usb_adapter->bittiming_const;
>>> dev->can.do_set_bittiming = peak_usb_set_bittiming;
>>> + dev->can.data_bittiming_const =
>>> &peak_usb_adapter->data_bittiming_const;
>>> + dev->can.do_set_data_bittiming = peak_usb_set_data_bittiming;
>>> dev->can.do_set_mode = peak_usb_set_mode;
>>> - dev->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES |
>>> - CAN_CTRLMODE_LISTENONLY;
>>> + dev->can.ctrlmode_supported = peak_usb_adapter->ctrlmode_supported;
>>> All ctrlmode_supported can go into a seperate patch.
>>
>> I'll try but can you please explain why?
BTW: you can split a patch into multiple patches with git quite easy:
# move branch head one patch backwards, working copy stays unmodified:
git reset HEAD^
# for each hunk git will ask you if you want to stage it.
# you can even split a hunk.
git add -p
or use git gui instead of git add -p.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-01-13 13:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-06 10:00 [PATCH v4] can/peak_usb: add support for PEAK new CANFD USB adapters Stephane Grosjean
2015-01-07 17:03 ` Marc Kleine-Budde
2015-01-07 17:37 ` Oliver Hartkopp
2015-01-07 18:37 ` iproute2 fd-non-iso PoC - was " Oliver Hartkopp
2015-01-08 9:04 ` Marc Kleine-Budde
2015-01-08 9:09 ` Marc Kleine-Budde
2015-01-13 13:18 ` Stephane Grosjean
2015-01-13 13:29 ` Marc Kleine-Budde
2015-01-13 13:32 ` Marc Kleine-Budde [this message]
2015-01-14 10:50 ` Stephane Grosjean
2015-01-14 10:51 ` Marc Kleine-Budde
2015-01-14 10:56 ` Stephane Grosjean
2015-01-14 11:07 ` Marc Kleine-Budde
2015-01-14 18:55 ` Oliver Hartkopp
2015-01-14 20:57 ` Marc Kleine-Budde
2015-01-15 15:49 ` Marc Kleine-Budde
2015-01-14 12:05 ` Fwd: " Stephane Grosjean
2015-01-14 13:00 ` Andri Yngvason
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=54B51E87.30308@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=linux-can@vger.kernel.org \
--cc=s.grosjean@peak-system.com \
--cc=socketcan@hartkopp.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.