Re: [PATCH] mmc: mxs: fix card detection function for broken card detect

2014-05-05 Thread Ulf Hansson
On 28 April 2014 11:36, Sascha Hauer wrote: > On Mon, Apr 28, 2014 at 11:31:03AM +0200, Ulf Hansson wrote: >> On 28 April 2014 11:13, Sascha Hauer wrote: >> > On Sat, Apr 19, 2014 at 11:59:18PM +0200, Daniel Willmann wrote: >> >> Return -ENOSYS in get_cd if broken-cd is specified in the device tr

Re: [PATCH] mmc: mxs: fix card detection function for broken card detect

2014-04-28 Thread Sascha Hauer
On Mon, Apr 28, 2014 at 11:31:03AM +0200, Ulf Hansson wrote: > On 28 April 2014 11:13, Sascha Hauer wrote: > > On Sat, Apr 19, 2014 at 11:59:18PM +0200, Daniel Willmann wrote: > >> Return -ENOSYS in get_cd if broken-cd is specified in the device tree. > >> > >> Commit a91fe279ae75 (mmc: mxs: use s

Re: [PATCH] mmc: mxs: fix card detection function for broken card detect

2014-04-28 Thread Ulf Hansson
On 28 April 2014 11:13, Sascha Hauer wrote: > On Sat, Apr 19, 2014 at 11:59:18PM +0200, Daniel Willmann wrote: >> Return -ENOSYS in get_cd if broken-cd is specified in the device tree. >> >> Commit a91fe279ae75 (mmc: mxs: use standard flag for broken card >> detection) sets MMC_CAP_NEEDS_POLL when

Re: [PATCH] mmc: mxs: fix card detection function for broken card detect

2014-04-28 Thread Sascha Hauer
On Sat, Apr 19, 2014 at 11:59:18PM +0200, Daniel Willmann wrote: > Return -ENOSYS in get_cd if broken-cd is specified in the device tree. > > Commit a91fe279ae75 (mmc: mxs: use standard flag for broken card > detection) sets MMC_CAP_NEEDS_POLL when broken-cd is specified. This > driver sets this f

[PATCH] mmc: mxs: fix card detection function for broken card detect

2014-04-19 Thread Daniel Willmann
Return -ENOSYS in get_cd if broken-cd is specified in the device tree. Commit a91fe279ae75 (mmc: mxs: use standard flag for broken card detection) sets MMC_CAP_NEEDS_POLL when broken-cd is specified. This driver sets this flag unconditionally as it does not support a card detect interrupt. Instead