master cylinder upgrade

So let's say I did swap to the new MC, would that work if I did go to the disc setup in the future?