Re: [PATCH v2 3/4] soc: qcom: pmic_glink: Introduce altmode support

From: Bjorn Andersson
Date: Mon Jan 16 2023 - 21:09:34 EST


On Sun, Jan 15, 2023 at 01:10:14PM -0600, Steev Klimaszewski wrote:
> > diff --git a/drivers/soc/qcom/pmic_glink_altmode.c b/drivers/soc/qcom/pmic_glink_altmode.c
[..]
> > + msg = data;
> > + notification = le32_to_cpu(msg->notification);
> > + port = FIELD_GET(SC8180X_PORT_MASK, notification);
> > + orientation = FIELD_GET(SC8180X_ORIENTATION_MASK, notification);
> > + mux = FIELD_GET(SC8180X_MUX_MASK, notification);
> > + mode = FIELD_GET(SC8180X_MODE_MASK, notification);
> > + hpd_state = FIELD_GET(SC8180X_HPD_STATE_MASK, notification);
> > + hpd_irq = FIELD_GET(SC8180X_HPD_IRQ_MASK, notification);
> > +
> The kernel test robot keeps complaining about these FIELD_GET because
> there is no #include <linux/bitfield.h>
>

I must have missed those complains before, thanks for pointing it out!

Regards,
Bjorn