Merge tag 'counter-fixes-for-6.6a' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Oct 2023 11:13:15 +0000 (13:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Oct 2023 11:13:15 +0000 (13:13 +0200)
commit5d164a022b99f29bfa04c725fba00cab97d6b640
treed91b274d9432566d2acced4b267fee9aac7c44cf
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa
parentdf8fdd01c98b99d04915c04f3a5ce73f55456b7c
Merge tag 'counter-fixes-for-6.6a' of git://git./linux/kernel/git/wbg/counter into char-misc-linus

William writes:

First set of Counter fixes for 6.6

The counter_get_ext() function would incorrectly refer to the first
element of the extensions array to handle component array extensions
when they are located at a different index; a fix is provided to index
to the correct element in the array for this case. A fix for the
microchip-tcb-capture is provided as well to correct an inverted
internal GCLK logic for clock selection.

* tag 'counter-fixes-for-6.6a' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter:
  counter: microchip-tcb-capture: Fix the use of internal GCLK logic
  counter: chrdev: fix getting array extensions
drivers/counter/microchip-tcb-capture.c