If you have both W-2 income and self-employment income, you can still qualify for the deduction, provided you are not eligible for an employer-subsidized plan. The key factor is your eligibility for the employer-subsidized plan, not the presence of W-2 income.