Sergei,

Thanks for your response.

I have another question: When should I use dev_err and dev_dbg in a probe function, for reporting the errors (-ENOMEM, -ENODEV, -ENOMEM, etc)?

Thanks,

Miguel Aguilar
Sergei Shtylyov wrote:
Hello.

Miguel Aguilar wrote:

David,

   Though I'm not David, I'll reply... :-)

What are the proper error codes when platform_get_resource,

   -ENODEV.

request_mem_region

   -EBUSY.

and ioremap functions fail?.

   -ENOMEM.

WBR, Sergei




_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to