Linux IIO development
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: Philippe De Muyter <phdm@macq.eu>
Cc: jic23@kernel.org, linux-iio@vger.kernel.org, lorenzo.bianconi@redhat.com
Subject: Re: [PATCH] iio: imu: st_lsm6dsx: discard samples during filters settling time
Date: Wed, 8 Feb 2023 18:28:24 +0100	[thread overview]
Message-ID: <Y+PbuPU7mupAjjqR@lore-desk> (raw)
In-Reply-To: <20230208171523.GA28208@frolo.macqel>

[-- Attachment #1: Type: text/plain, Size: 3076 bytes --]

> Hello again Lorenzo,
> 
> On Wed, Feb 08, 2023 at 05:34:23PM +0100, Lorenzo Bianconi wrote:
> 
> > Date: Wed, 8 Feb 2023 17:34:23 +0100
> > From: Lorenzo Bianconi <lorenzo@kernel.org>
> > To: Philippe De Muyter <phdm@macq.eu>
> > Cc: jic23@kernel.org, linux-iio@vger.kernel.org,
> > 	lorenzo.bianconi@redhat.com
> > Subject: Re: [PATCH] iio: imu: st_lsm6dsx: discard samples during filters
> > 	settling time
> > 
> > > Hello Lorenzo,
> > > 
> > > thank you for your patch.
> > > 
> > > I had successfully applied the previous one, but not yet had time
> > > to test it, but this one I cannot apply.
> > > 
> > > On which branch/tag does it apply ?
> > 
> > I am using testing branch from linux-iio tree:
> > 
> > git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
> > 
> > Regards,
> > Lorenzo
> 
> I have fetched it with :
> 
>   git fetch https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git +testing
> 
> git am complains with :
>  $ git am ~/st_lsm6dsx-real.patch
>  Applying: iio: imu: st_lsm6dsx: discard samples during filters settling time
>  error: patch failed: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h:137
>  error: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h: patch does not apply
>  error: patch failed: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c:457
>  error: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c: patch does not apply
>  error: patch failed: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c:634
>  error: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c: patch does not apply
>  Patch failed at 0001 iio: imu: st_lsm6dsx: discard samples during filters settling time
>  hint: Use 'git am --show-current-patch=diff' to see the failed 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".
> 
> and patch -p1 with :
>  $ patch -p1 < ~/st_lsm6dsx-real.patch
>  patching file drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
>  Hunk #1 succeeded at 144 with fuzz 2 (offset 7 lines).
>  Hunk #2 FAILED at 298.
>  Hunk #3 FAILED at 330.
>  Hunk #4 FAILED at 360.
>  Hunk #5 FAILED at 374.
>  4 out of 5 hunks FAILED -- saving rejects to file drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h.rej
>  patching file drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c
>  Hunk #1 FAILED at 457.
>  Hunk #2 FAILED at 541.
>  Hunk #3 succeeded at 673 with fuzz 1 (offset 19 lines).
>  Hunk #4 FAILED at 692.
>  3 out of 4 hunks FAILED -- saving rejects to file drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c.rej
>  patching file drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
>  Hunk #1 FAILED at 634.
>  1 out of 1 hunk FAILED -- saving rejects to file drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c.rej
> 
> 
> Could it be something caused by your or my mail-transfer-agent ?
> 
> Best regards
> 
> Philippe

Can you please try the following branch?

https://github.com/LorenzoBianconi/linux-iio/tree/st_lsm6dsx_discard_sample

Regards,
Lorenzo


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2023-02-08 17:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08 14:42 [PATCH] iio: imu: st_lsm6dsx: discard samples during filters settling time Lorenzo Bianconi
2023-02-08 16:23 ` Philippe De Muyter
2023-02-08 16:34   ` Lorenzo Bianconi
2023-02-08 17:15     ` Philippe De Muyter
2023-02-08 17:28       ` Lorenzo Bianconi [this message]
2023-02-12 10:21 ` Lorenzo Bianconi
2023-02-13  9:19   ` Philippe De Muyter
2023-02-13 10:16     ` [PATCH] iio: imu: st_lsm6dsx: no answer after some iio_generic_buffer test cycles Philippe De Muyter
2023-02-13 10:53       ` Lorenzo Bianconi
2023-02-14  9:42         ` Philippe De Muyter
2023-02-18 13:56 ` [PATCH] iio: imu: st_lsm6dsx: discard samples during filters settling time Jonathan Cameron
2023-02-20  9:12   ` Lorenzo Bianconi
2023-02-20 11:28     ` Philippe De Muyter
2023-02-20 11:31       ` Lorenzo Bianconi
2023-02-20 12:41     ` Jonathan Cameron
2023-02-20 13:07       ` Lorenzo Bianconi

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=Y+PbuPU7mupAjjqR@lore-desk \
    --to=lorenzo@kernel.org \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=phdm@macq.eu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox