Skip to content
Commit 40b38d5e authored by Marc Herbert's avatar Marc Herbert Committed by Anas Nashif
Browse files

soc/intel_adsp: cavstool: minor error handling fixes



Don't "crash" when passing no argument at all.

Log exceptions, adding for instance the second line:

ERROR:cavs-fw:Could not map device in sysfs; run as root?
ERROR:cavs-fw:[Errno 13] Permission denied: \
             '/sys/bus/pci/devices/0000:00:0e.0/power/control'

Signed-off-by: default avatarMarc Herbert <marc.herbert@intel.com>
parent 14ac1907
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment