OSDN Git Service

greybus: sdio: rework of event handler
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 2 Jul 2015 18:11:31 +0000 (19:11 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 6 Jul 2015 18:15:42 +0000 (11:15 -0700)
commitc36d31cbc57635f7e66176d84d7b8688796a01d3
tree327ab5713a39cbf9bf552a6044d4060dc01fcbb3
parentef0cc0ec8d80a18c83aec41321ebeba639cfa09a
greybus: sdio: rework of event handler

Between the time connection with module is up and the host is added,
we can receive events (card inserted/removed, write protection
switch), so until the setup is complete we queue the events received
and handle them after.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/sdio.c