From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933057AbdDQIJq (ORCPT ); Mon, 17 Apr 2017 04:09:46 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:32470 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932846AbdDQIJo (ORCPT ); Mon, 17 Apr 2017 04:09:44 -0400 From: To: CC: , , , , , , , , Subject: [PATCH] mmc: sdio: Fix sdio wait busy implement limitation Date: Mon, 17 Apr 2017 16:09:30 +0800 Message-ID: <1492416571-28843-1-git-send-email-jiajie.hao@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The host may issue an I/O abort by writing to the CCCR at any time during I/O read operation via CMD52. And host may need suspend transcation during write busy stage in SDIO suspend/resume scenario. >>From other side, a card may accept CMD52 during data transfer phase. Previous implement would block issuing above command in busy stage. It cause function driver can't implement as proper way and has no opportunity to do some coverage in error case via I/O abort etc. We need bypass some necessary operation during busy check stage.