msm: sdio: Keep certain messages in a local buffer

While logging to the kernel log, keep the last 20 or so messages in
a local buffer. This can be accessed by debugfs or through a crash
dump. This is useful when there is heavy logging to the kernel log
and sdio messages are lost.

Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
1 file changed