This adds current_event variable to the struct otg_bc_cap. The current_event allows...
authorHao Wu <hao.wu@intel.com>
Thu, 25 Aug 2011 11:20:35 +0000 (12:20 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:38:27 +0000 (12:38 -0800)
commit1151930295d1fea5595a24f571a735cd5115f87d
treef3a899818f4a2d29419d8a28cd12b63423c8cd75
parent4fecc95fde1e5a4cc59795271d990485c4bf7c3e
This adds current_event variable to the struct otg_bc_cap. The current_event allows the battery driver to read the event even after the bc_callback() is called.

Change-Id: Id6a7c412d769bc9bcc6c0358838a9a4e13e588db
Signed-off-by: Hao Wu <hao.wu@intel.com>
[Rewrote the commit message]
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
drivers/usb/otg/penwell_otg.c
include/linux/usb/penwell_otg.h