If I'm in prison and my case is reduced from a felony to a misdemeanor, will I get out of prison?

If you have no other charges keeping you in state prison, you may be released from prison.  If your case is reduced to a misdemeanor, your maximum sentence is no more than a year in county jail.  You cannot be sentenced to prison on a misdemeanor, but you can be sentenced to county jail.