Commit b75b3054 authored by Federico Vaga's avatar Federico Vaga

fmc-adc.h: better error message

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent 285413f9
......@@ -223,7 +223,8 @@ static inline int zfa_common_conf_set(struct device *dev,
uint32_t cur, val;
if ((usr_val & (~reg->mask))) {
dev_err(dev, "the value must fit the mask 0x%x\n", reg->mask);
dev_err(dev, "the value 0x%x must fit the mask 0x%x\n",
usr_val, reg->mask);
return -EINVAL;
}
/* Read current register*/
......
Markdown is supported
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