All of lore.kernel.org
 help / color / mirror / Atom feed
* Handling Signal1 in microchip-tcb-capture
@ 2022-10-15 13:52 ` William Breathitt Gray
  0 siblings, 0 replies; 14+ messages in thread
From: William Breathitt Gray @ 2022-10-15 13:52 UTC (permalink / raw)
  To: kamel.bouhara; +Cc: linux-arm-kernel, linux-iio

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

Hello Kamel,

I was looking over the microchip-tcb-capture driver recently and noticed
that the code doesn't seem to account for Signal1. In particular, it
appears that mchp_tc_count_signal_read() and mchp_tc_count_action_read()
don't check the Signal id at all and just assume they are handling
Signal0. This creates a situation where the information returned for the
Signal1 sysfs attributes are just duplicated reports of Signal0.

What exactly is the relationship of Signal0 ("Channel A") and Signal1
("Channel B"); is SignalB only relevant when the counter device is
configured for quadrature mode?

Sincerely,

William Breathitt Gray

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-10-18 11:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-15 13:52 Handling Signal1 in microchip-tcb-capture William Breathitt Gray
2022-10-15 13:52 ` William Breathitt Gray
2022-10-17  9:59 ` Kamel Bouhara
2022-10-17  9:59   ` Kamel Bouhara
2022-10-17 12:53   ` William Breathitt Gray
2022-10-17 12:53     ` William Breathitt Gray
2022-10-17 17:06     ` Kamel Bouhara
2022-10-17 17:06       ` Kamel Bouhara
2022-10-17 21:57       ` William Breathitt Gray
2022-10-17 21:57         ` William Breathitt Gray
2022-10-18  8:01         ` Kamel Bouhara
2022-10-18  8:01           ` Kamel Bouhara
2022-10-18 11:47           ` William Breathitt Gray
2022-10-18 11:47             ` William Breathitt Gray

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.