)]}'
{
  "commit": "05aaac8746c5786eaa779b163fae4ddcd5172707",
  "tree": "5c557a68cd36e6f9422cb39f8843640ff6b1c1e3",
  "parents": [
    "3607422cdeebd1f0c259964bf33aaa9792e21930"
  ],
  "author": {
    "name": "Markus Stockhausen",
    "email": "markus.stockhausen@gmx.de",
    "time": "Sat May 02 19:32:07 2026 +0200"
  },
  "committer": {
    "name": "Guenter Roeck",
    "email": "linux@roeck-us.net",
    "time": "Thu May 07 16:30:12 2026 -0700"
  },
  "message": "hwmon: (lm75) Fix configuration register writes.\n\nSensors configurations are defined by set and clear masks. These\ndo not follow a consistent \"clear mask is a superset of set mask\"\nrule. This relaxed definition breaks lm75_write_config()\n\nstatic inline int lm75_write_config(struct lm75_data *data, u16 set_mask,\n\t\t\t\t    u16 clr_mask)\n{\n\treturn regmap_update_bits(data-\u003eregmap, LM75_REG_CONF,\n\t\t\t\t  clr_mask | LM75_SHUTDOWN, set_mask);\n}\n\nBasically all bits from set_mask that are not defined in clr_mask are\ndropped. Fix that by enhancing the helper to always combine clr_mask\nand set_mask into the mask bits of regmap_update_bits().\n\nFixes: 6da24a25f766 (\"hwmon: (lm75) Hide register size differences in regmap access functions\")\nSuggested-by: Guenter Roeck \u003clinux@roeck-us.net\u003e\nSigned-off-by: Markus Stockhausen \u003cmarkus.stockhausen@gmx.de\u003e\nLink: https://lore.kernel.org/r/20260502173207.3567876-3-markus.stockhausen@gmx.de\nSigned-off-by: Guenter Roeck \u003clinux@roeck-us.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a1bf4e9813ed8ef4a929b9c636a775c2a6c1da26",
      "old_mode": 33188,
      "old_path": "drivers/hwmon/lm75.c",
      "new_id": "c283443e363b4270151ad1060e685e26010e54e3",
      "new_mode": 33188,
      "new_path": "drivers/hwmon/lm75.c"
    }
  ]
}
