Personally, even as a huge proponent of working from home, I agree with Marissa Meyer's decision to discontinue the work from home policy at Yahoo. The fact is, Yahoo's system was broken. Their culture was tarnished, and she needed to hone it all back in to build it back up again. That doesn't mean it's right for all other companies though.
If it ain't broke, don't fix it - not a fan of everyone using the Yahoo example as an excuse to get rid of work-from-home policies at other companies. Case-in-point that it can be successful: Check out Automattic (the owners of Wordpress)