linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Handling Signal1 in microchip-tcb-capture
@ 2022-10-15 13:52 William Breathitt Gray
  2022-10-17  9:59 ` Kamel Bouhara
  0 siblings, 1 reply; 7+ 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.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 #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

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

Thread overview: 7+ 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-17  9:59 ` Kamel Bouhara
2022-10-17 12:53   ` William Breathitt Gray
2022-10-17 17:06     ` Kamel Bouhara
2022-10-17 21:57       ` William Breathitt Gray
2022-10-18  8:01         ` Kamel Bouhara
2022-10-18 11:47           ` William Breathitt Gray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).