Re: [RFC v2 08/11] gpiolib: cdev: Add hardware timestamp clock type
From: Linus Walleij
Date: Sun Oct 03 2021 - 18:10:22 EST
On Fri, Oct 1, 2021 at 1:26 AM Dipen Patel <dipenp@xxxxxxxxxx> wrote:
> + if (test_bit(FLAG_EVENT_CLOCK_HARDWARE, &line->desc->flags)) {
I don't know if it's here or a few other places as well we could sneak
in a IS_ENABLED(CONFIG_HTE) to make sure the compiler will
optimize out a bunch of the HTE support code if HTE is not in use?
Just an idea, I guess it's not the most urgent.
Yours,
Linus Walleij