Re: [PATCH] extcon: Fix attached value returned by is_extcon_changed

2015-09-03 Thread Chanwoo Choi
On 2015년 08월 24일 07:35, Hans de Goede wrote: > is_extcon_changed should only check the idx-th bit of new, not > the entirety of new when setting attached. > > This fixes extcon sending notifications that a cable was inserted when > it gets removed while another cable is still connected. > > Cc:

Re: [PATCH] extcon: Fix attached value returned by is_extcon_changed

2015-09-03 Thread Chanwoo Choi
On 2015년 08월 24일 07:35, Hans de Goede wrote: > is_extcon_changed should only check the idx-th bit of new, not > the entirety of new when setting attached. > > This fixes extcon sending notifications that a cable was inserted when > it gets removed while another cable is still connected. > > Cc:

[PATCH] extcon: Fix attached value returned by is_extcon_changed

2015-08-23 Thread Hans de Goede
is_extcon_changed should only check the idx-th bit of new, not the entirety of new when setting attached. This fixes extcon sending notifications that a cable was inserted when it gets removed while another cable is still connected. Cc: sta...@vger.kernel.org Signed-off-by: Hans de Goede ---

[PATCH] extcon: Fix attached value returned by is_extcon_changed

2015-08-23 Thread Hans de Goede
is_extcon_changed should only check the idx-th bit of new, not the entirety of new when setting attached. This fixes extcon sending notifications that a cable was inserted when it gets removed while another cable is still connected. Cc: sta...@vger.kernel.org Signed-off-by: Hans de Goede