serial: msm_geni_serial: Setup the IPC logs at probe for HS-UART

Currently the IPC log files for HS-UART is setup only when the port is
opened.  The security policies for the debugfs files are set at post-boot
so depending on when the userspace clients open the HS-UART port the
policy for these files aren't setup which could prevent reading these
IPC logs from userspace processes (adb shell client for example).

Move setting up the IPC logs as part of the probe function to circumvent
this situation.

Change-Id: Ib9343879691da8ff6d69747e02eeeeabc82ffe75
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
1 file changed