Skip to content
Commit e7100478 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

edac: only create sdram_scrub_rate where supported



Currently, sdram_scrub_rate sysfs node is created even if the device
doesn't support get/set the scub rate. Change the logic to only
create this device node when the operation is supported.

Reported-by: default avatarFelipe Balbi <balbi@ti.com>
Acked-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 61734e18
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment