Re: [PATCH v2] ACPI / PMIC: Add opregion driver for Intel CHT WhiskeyCove PMIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thnak you for the review.

On 27-02-17 22:50, Andy Shevchenko wrote:
On Mon, Feb 27, 2017 at 10:26 PM, Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
Add opregion driver for Intel CHT WhiskeyCove PMIC, based on various
non upstreamed CHT WhiskeyCove PMIC patches. This does not include
support for the Thermal opregion (DPTF) due to lacking documentation.

Couple of nitpicks.

@@ -0,0 +1,232 @@
+/*
+ * intel_pmic_chtwc.c - Intel CHT Whiskey Cove PMIC operation region driver

I would remove file name. You never know if it's going to be renamed or not.

+static int intel_cht_wc_pmic_update_power(struct regmap *regmap, int reg,
+               int bit, bool on)
+{

+       u8 mask = bit;
+
+       return regmap_update_bits(regmap, reg, mask, on ? 1 : 0);

Hmm... Just leave one line?

Both fixed. I will send a new version together with a new version
of the Intel CHT WhiskeyCove PMIC mfd driver.

Since this patch relies on defines from the generic mfd header that one
needs to be merged first. Given the dependency it is probably best of both are
merged through the mfd tree. Rafael, is that ok with you ?

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux