Skip to content

Commit

Permalink
treewide: Silence some logspam
Browse files Browse the repository at this point in the history
Signed-off-by: KenHV <[email protected]>
  • Loading branch information
KenHV committed Apr 18, 2022
1 parent a64c14f commit 982e3d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions drivers/base/regmap/regcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static int regcache_default_sync(struct regmap *map, unsigned int min,
ret = _regmap_write(map, reg, val);
map->cache_bypass = false;
if (ret) {
dev_err(map->dev, "Unable to sync register %#x. %d\n",
dev_dbg(map->dev, "Unable to sync register %#x. %d\n",
reg, ret);
return ret;
}
Expand Down Expand Up @@ -690,7 +690,7 @@ static int regcache_sync_block_single(struct regmap *map, void *block,

map->cache_bypass = false;
if (ret != 0) {
dev_err(map->dev, "Unable to sync register %#x. %d\n",
dev_dbg(map->dev, "Unable to sync register %#x. %d\n",
regtmp, ret);
return ret;
}
Expand Down Expand Up @@ -719,7 +719,7 @@ static int regcache_sync_block_raw_flush(struct regmap *map, const void **data,

ret = _regmap_raw_write(map, base, *data, count * val_bytes, false);
if (ret)
dev_err(map->dev, "Unable to sync registers %#x-%#x. %d\n",
dev_dbg(map->dev, "Unable to sync registers %#x-%#x. %d\n",
base, cur - map->reg_stride, ret);

map->cache_bypass = false;
Expand Down
2 changes: 1 addition & 1 deletion drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ static int pci_raw_set_power_state(struct pci_dev *dev, pci_power_t state)

pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr);
if (PCI_POSSIBLE_ERROR(pmcsr)) {
pci_err(dev, "can't change power state from %s to %s (config space inaccessible)\n",
pci_dbg(dev, "can't change power state from %s to %s (config space inaccessible)\n",
pci_power_name(dev->current_state),
pci_power_name(state));
return -EIO;
Expand Down
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_eld.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid,
size = 128;
}
if (size < ELD_FIXED_BYTES || size > ELD_MAX_SIZE) {
codec_info(codec, "HDMI: invalid ELD buf size %d\n", size);
codec_dbg(codec, "HDMI: invalid ELD buf size %d\n", size);
return -ERANGE;
}

Expand Down

0 comments on commit 982e3d4

Please sign in to comment.