<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:rgb(0,0,0)">I have writen a driver that implements a simple platform device. It basically<br>reads I/O Mapped registers using request_mem_region()/ioremap()/release_mem_region()<br>and export its contents to user space using sysfs. This driver is used for debugging<br>purposes.<br><br>The problem takes place when I try to read these registers when the<br>corresponding driver, that uses these I/O mapped registers, is loaded. In other<br>words, I cannot request the memory region, it return a "device busy" error.<br>If I disable the the request_/release_mem_region() it works.<br><br>One questions arises from it:<br>Is there a way to read these I/O mapped registers without bypassing the<br>request_/release_mem_region() functions ?<br><br>Linux Kernel version: 3.10.54 on ARMv7<br><br>Best regards,<br>Rafael.<br clear="all"></div><br>-- <br><div dir="ltr"><div><br><br></div><font><span style="font-family:comic sans ms,sans-serif">"<span>It is not that I am so smart, it is just that I stay with problems longer.</span>"<br></span></font><div><font><span style="font-family:comic sans ms,sans-serif">--Albert Einstein</span></font><br></div></div>
</div>