Merge tag 'v4.9.243' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y

This is the 4.9.243 stable release

Change-Id: Ia49c0954835e98c4d50216d89e6f77cdf9a9b4ee
This commit is contained in:
Mauro (mdrjr) Ribeiro
2021-07-30 20:13:11 -03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 9
SUBLEVEL = 242
SUBLEVEL = 243
EXTRAVERSION =
NAME = Roaring Lionus

View File

@@ -379,9 +379,9 @@ static void create_power_zone_common_attributes(
&dev_attr_max_energy_range_uj.attr;
if (power_zone->ops->get_energy_uj) {
if (power_zone->ops->reset_energy_uj)
dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUGO;
dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUSR;
else
dev_attr_energy_uj.attr.mode = S_IRUGO;
dev_attr_energy_uj.attr.mode = S_IRUSR;
power_zone->zone_dev_attrs[count++] =
&dev_attr_energy_uj.attr;
}