Re: [PATCH v8] platform/x86: samsung-galaxybook: Add samsung-galaxybook driver
From: Thomas Weißschuh
Date: Tue Jan 28 2025 - 16:17:34 EST
Hi Joshua,
sorry for the late reply.
On 2025-01-28 20:17:53+0100, Joshua Grisham wrote:
> Thank you Kurt!
>
> Den lör 25 jan. 2025 kl 16:06 skrev Kurt Borja <kuurtb@xxxxxxxxx>:
> >
> > Now I understand the original problem better. I didn't consider this
> > possibility when designing the callback.
> >
> > While this is a fine solution I believe Thomas' EOPNOTSUPP solution is
> > the way to go. I think positive err value would be the safest but you
> > should wait for the advice of someone with more experience.
> >
> > Aside from that I really like how the whole platform profile sections
> > works now. Good design choices :)
> >
> > ~ Kurt
> >
> > > <snip>
>
> Regarding using this positive error code internally within the module,
> I thought about maybe adding a comment to galaxybook_probe() before
> all of the inits which describe this a bit -- do you all think this
> will be helpful or is it clear enough / does not matter and can be
> skipped?
To me that sounds reasonable.
<snip>
> If this comment (you all are welcome to suggest wording tweaks as
> well, of course!) plus the few other small tweaks make sense then I
> can prep this to send as a new version. But I am holding a bit in
> hopes that the 6.14 stuff gets merged to pdx86 for-next so that I can
> go ahead with implementing Thomas's new power supply extension
> interface at the same time.
Nice :-)
<snip>